FileCheck repeat. · rust-lang/rust@f3743ae (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit f3743ae

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
1 -// skip-filecheck
2 1 // unit-test: ConstProp
3 2 // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
4 3 // EMIT_MIR_FOR_EACH_BIT_WIDTH
5 4
6 5 // EMIT_MIR repeat.main.ConstProp.diff
7 6 fn main() {
7 +// CHECK-LABEL: fn main(
8 +// CHECK: debug x => [[x:_.*]];
9 +// CHECK: [[x]] = const 42_u32;
8 10 let x: u32 = [42; 8][2] + 0;
9 11 }