9 lines
131 B
Rust
9 lines
131 B
Rust
// run-fail
|
|
// ignore-wasm32
|
|
// error-pattern:location-mul-assign-overflow.rs
|
|
|
|
fn main() {
|
|
let mut a: u8 = 255;
|
|
a *= &2;
|
|
}
|