summaryrefslogtreecommitdiffstats
path: root/tests/ui/variants/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/variants/auxiliary')
-rw-r--r--tests/ui/variants/auxiliary/variant-namespacing.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/variants/auxiliary/variant-namespacing.rs b/tests/ui/variants/auxiliary/variant-namespacing.rs
new file mode 100644
index 000000000..7ba601a88
--- /dev/null
+++ b/tests/ui/variants/auxiliary/variant-namespacing.rs
@@ -0,0 +1,5 @@
+pub enum XE {
+ XStruct { a: u8 },
+ XTuple(u8),
+ XUnit,
+}