1
Fork 0

add track_caller for arith ops

This commit is contained in:
bohan 2023-11-24 00:54:06 +08:00
parent 91f7f266ce
commit fc87d6e23d
16 changed files with 95 additions and 4 deletions

View file

@ -0,0 +1,7 @@
// run-fail
// ignore-wasm32
// error-pattern:location-mul-overflow.rs
fn main() {
let _: u8 = 255 * &2;
}