blob: 6a53aced091684addf3c234d1882ed500d5dada4 (
plain)
1
2
3
4
5
6
7
8
9
|
// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// unit-test: ConstProp
// compile-flags: -C overflow-checks=on
// EMIT_MIR checked_add.main.ConstProp.diff
fn main() {
let x: u32 = 1 + 1;
}
|