blob: 9730b9aa8e5c0e13bffaa6bb5a12a49b99a6bafe [file] [log] [blame]
// Test that deaggregate fires more than once per block
enum Foo {
A(i32),
B,
}
// EMIT_MIR deaggregator_test_multiple.test.Deaggregator.diff
fn test(x: i32) -> [Foo; 2] {
[Foo::A(x), Foo::A(x)]
}
fn main() {
// Make sure the function actually gets instantiated.
test(0);
}