Thanks to visit codestin.com Credit goes to github.com
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 b8f2f63 commit e6a1b77Copy full SHA for e6a1b77
tests/mir-opt/const_prop/cast.rs
@@ -1,9 +1,12 @@
1
-// skip-filecheck
2
// unit-test: ConstProp
3
// EMIT_MIR cast.main.ConstProp.diff
4
5
fn main() {
+ // CHECK-LABEL: fn main(
6
+ // CHECK: debug x => [[x:_.*]];
7
+ // CHECK: debug y => [[y:_.*]];
8
+ // CHECK: [[x]] = const 42_u32;
9
+ // CHECK: [[y]] = const 42_u8;
10
let x = 42u8 as u32;
-
11
let y = 42u32 as u8;
12
}
0 commit comments