Skip to content

Commit 7f328d2

Browse files
committed
FileCheck checked_add.
1 parent e6a1b77 commit 7f328d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
// unit-test: ConstProp
43
// compile-flags: -C overflow-checks=on
54

65
// EMIT_MIR checked_add.main.ConstProp.diff
76
fn main() {
7+
// CHECK-LABEL: fn main(
8+
// CHECK: debug x => [[x:_.*]];
9+
// CHECK: assert(!const false,
10+
// CHECK: [[x]] = const 2_u32;
811
let x: u32 = 1 + 1;
912
}

0 commit comments

Comments
 (0)