]>
git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/remove_zsts_dont_touch_unions.rs
1 // compile-flags: -Zmir-opt-level=3
3 // Ensure RemoveZsts doesn't remove ZST assignments to union fields,
4 // which causes problems in Miri.
11 // EMIT_MIR remove_zsts_dont_touch_unions.get_union.RemoveZsts.after.mir
12 fn get_union() -> Foo
{