Skip to content

Commit f3743ae

Browse files
committed
FileCheck repeat.
1 parent 343ef6a commit f3743ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/mir-opt/const_prop/repeat.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
// skip-filecheck
21
// unit-test: ConstProp
32
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
43
// EMIT_MIR_FOR_EACH_BIT_WIDTH
54

65
// EMIT_MIR repeat.main.ConstProp.diff
76
fn main() {
7+
// CHECK-LABEL: fn main(
8+
// CHECK: debug x => [[x:_.*]];
9+
// CHECK: [[x]] = const 42_u32;
810
let x: u32 = [42; 8][2] + 0;
911
}

0 commit comments

Comments
 (0)