summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-struct-offsets.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-struct-offsets.rs')
-rw-r--r--src/test/ui/consts/const-struct-offsets.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/consts/const-struct-offsets.rs b/src/test/ui/consts/const-struct-offsets.rs
deleted file mode 100644
index 26a008320..000000000
--- a/src/test/ui/consts/const-struct-offsets.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-// pretty-expanded FIXME #23616
-#![allow(non_upper_case_globals)]
-
-enum Foo {
- IntVal(i32),
- Int64Val(i64)
-}
-
-struct Bar {
- i: i32,
- v: Foo
-}
-
-static bar: Bar = Bar { i: 0, v: Foo::IntVal(0) };
-
-pub fn main() {}