mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
9 lines
201 B
Rust
9 lines
201 B
Rust
// ignore-wasm32 compiled with panic=abort by default
|
|
// unit-test: ConstProp
|
|
// compile-flags: -C overflow-checks=on
|
|
|
|
// EMIT_MIR checked_add.main.ConstProp.diff
|
|
fn main() {
|
|
let x: u32 = 1 + 1;
|
|
}
|