summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs-enums/variant-structs-trivial.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/structs-enums/variant-structs-trivial.rs')
-rw-r--r--tests/ui/structs-enums/variant-structs-trivial.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/structs-enums/variant-structs-trivial.rs b/tests/ui/structs-enums/variant-structs-trivial.rs
new file mode 100644
index 000000000..31fa610a6
--- /dev/null
+++ b/tests/ui/structs-enums/variant-structs-trivial.rs
@@ -0,0 +1,10 @@
+// run-pass
+#![allow(dead_code)]
+// pretty-expanded FIXME #23616
+
+enum Foo {
+ Bar { x: isize },
+ Baz { y: isize }
+}
+
+pub fn main() { }