diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 20:18:47 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 20:18:47 +0000 |
| commit | e6a1b77cd106a5a2a1571e74039fc466559ff8db (patch) | |
| tree | 8834cb09d6d71be8e0e308b7d45b5b2b2ca60093 | |
| parent | b8f2f639310193aa2de2ffc1f5685f154dcd57cf (diff) | |
| download | rust-e6a1b77cd106a5a2a1571e74039fc466559ff8db.tar.gz rust-e6a1b77cd106a5a2a1571e74039fc466559ff8db.zip | |
FileCheck cast.
| -rw-r--r-- | tests/mir-opt/const_prop/cast.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/mir-opt/const_prop/cast.rs b/tests/mir-opt/const_prop/cast.rs index 3d543badace..b81c2740a73 100644 --- a/tests/mir-opt/const_prop/cast.rs +++ b/tests/mir-opt/const_prop/cast.rs @@ -1,9 +1,12 @@ -// skip-filecheck // unit-test: ConstProp // EMIT_MIR cast.main.ConstProp.diff fn main() { + // CHECK-LABEL: fn main( + // CHECK: debug x => [[x:_.*]]; + // CHECK: debug y => [[y:_.*]]; + // CHECK: [[x]] = const 42_u32; + // CHECK: [[y]] = const 42_u8; let x = 42u8 as u32; - let y = 42u32 as u8; } |
