FileCheck indirect.
This commit is contained in:
parent
bf5d114da8
commit
6086dd6766
@ -1,9 +1,11 @@
|
||||
// skip-filecheck
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// unit-test: ConstProp
|
||||
// compile-flags: -C overflow-checks=on
|
||||
|
||||
// EMIT_MIR indirect.main.ConstProp.diff
|
||||
fn main() {
|
||||
// CHECK-LABEL: fn main(
|
||||
// CHECK: debug x => [[x:_.*]];
|
||||
// CHECK: [[x]] = const 3_u8;
|
||||
let x = (2u32 as u8) + 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user