diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 20:56:11 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 20:56:26 +0000 |
| commit | c8c9207e4c29a42f69408e92ca95fc34f7bf04c6 (patch) | |
| tree | 885fddc98a657d15a4983e544a46a1987de56fde | |
| parent | 45dd5d6bf340b48cf2a00755da4ca9dd7b6eb640 (diff) | |
| download | rust-c8c9207e4c29a42f69408e92ca95fc34f7bf04c6.tar.gz rust-c8c9207e4c29a42f69408e92ca95fc34f7bf04c6.zip | |
FileCheck read_immutable_static.
| -rw-r--r-- | tests/mir-opt/const_prop/read_immutable_static.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/read_immutable_static.rs b/tests/mir-opt/const_prop/read_immutable_static.rs index a8d8cfacc7c..0fa18dd101a 100644 --- a/tests/mir-opt/const_prop/read_immutable_static.rs +++ b/tests/mir-opt/const_prop/read_immutable_static.rs @@ -1,9 +1,11 @@ -// skip-filecheck // unit-test: ConstProp static FOO: u8 = 2; // EMIT_MIR read_immutable_static.main.ConstProp.diff fn main() { + // CHECK-LABEL: fn main( + // CHECK: debug x => [[x:_.*]]; + // CHECK: [[x]] = const 4_u8; let x = FOO + FOO; } |
