Skip to content

Commit c8c9207

Browse files
committed
FileCheck read_immutable_static.
1 parent 45dd5d6 commit c8c9207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
// skip-filecheck
21
// unit-test: ConstProp
32

43
static FOO: u8 = 2;
54

65
// EMIT_MIR read_immutable_static.main.ConstProp.diff
76
fn main() {
7+
// CHECK-LABEL: fn main(
8+
// CHECK: debug x => [[x:_.*]];
9+
// CHECK: [[x]] = const 4_u8;
810
let x = FOO + FOO;
911
}

0 commit comments

Comments
 (0)