about summary refs log tree commit diff
path: root/tests/ui/numbers-arithmetic/location-mul-overflow.rs
blob: 8d93406ba50925ef64ec6c6be8c54e7d52a2a7ff (plain)
1
2
3
4
5
6
7
//@ run-fail
//@ ignore-wasm32
//@ error-pattern:location-mul-overflow.rs

fn main() {
    let _: u8 = 255 * &2;
}