FileCheck tuple_literal_propagation.
This commit is contained in:
parent
87522d0007
commit
c00068e49f
@ -1,10 +1,11 @@
|
||||
// skip-filecheck
|
||||
// unit-test: ConstProp
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// EMIT_MIR tuple_literal_propagation.main.ConstProp.diff
|
||||
fn main() {
|
||||
let x = (1, 2);
|
||||
|
||||
fn main() {
|
||||
// CHECK-LABEL: fn main(
|
||||
// CHECK: = consume(const (1_u32, 2_u32))
|
||||
let x = (1, 2);
|
||||
consume(x);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user