blob: e33a272fe16b938ab847a60a001c212b277b70ce [file] [log] [blame] [edit]
// skip-filecheck
union Foo {
x: (),
y: u64,
}
// EMIT_MIR remove_zsts.get_union.RemoveZsts.diff
// EMIT_MIR remove_zsts.get_union.PreCodegen.after.mir
fn get_union() -> Foo {
Foo { x: () }
}
fn main() {
get_union();
}