We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343ef6a commit f3743aeCopy full SHA for f3743ae
tests/mir-opt/const_prop/repeat.rs
@@ -1,9 +1,11 @@
1
-// skip-filecheck
2
// unit-test: ConstProp
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
4
// EMIT_MIR_FOR_EACH_BIT_WIDTH
5
6
// EMIT_MIR repeat.main.ConstProp.diff
7
fn main() {
+ // CHECK-LABEL: fn main(
8
+ // CHECK: debug x => [[x:_.*]];
9
+ // CHECK: [[x]] = const 42_u32;
10
let x: u32 = [42; 8][2] + 0;
11
}
0 commit comments