summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/remove_zsts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/remove_zsts.rs')
-rw-r--r--src/test/mir-opt/remove_zsts.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/mir-opt/remove_zsts.rs b/src/test/mir-opt/remove_zsts.rs
deleted file mode 100644
index 1cf7ad6e3..000000000
--- a/src/test/mir-opt/remove_zsts.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-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();
-}