diff options
Diffstat (limited to 'src/test/mir-opt/dest-prop/union.rs')
-rw-r--r-- | src/test/mir-opt/dest-prop/union.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/mir-opt/dest-prop/union.rs b/src/test/mir-opt/dest-prop/union.rs deleted file mode 100644 index eb6cb09fc..000000000 --- a/src/test/mir-opt/dest-prop/union.rs +++ /dev/null @@ -1,16 +0,0 @@ -//! Tests that we can propagate into places that are projections into unions -// compile-flags: -Zunsound-mir-opts -fn val() -> u32 { - 1 -} - -// EMIT_MIR union.main.DestinationPropagation.diff -fn main() { - union Un { - us: u32, - } - - let un = Un { us: val() }; - - drop(unsafe { un.us }); -} |