1 // Test that deaggregate fires in more than one basic block
8 fn test1(x: bool, y: i32) -> Foo {
17 // Make sure the function actually gets instantiated.
22 // START rustc.test1.Deaggregator.before.mir
26 // _0 = Foo::B(move _5,);
33 // _0 = Foo::A(move _4,);
37 // END rustc.test1.Deaggregator.before.mir
38 // START rustc.test1.Deaggregator.after.mir
42 // ((_0 as B).0: i32) = move _5;
43 // discriminant(_0) = 1;
50 // ((_0 as A).0: i32) = move _4;
51 // discriminant(_0) = 0;
55 // END rustc.test1.Deaggregator.after.mir