summaryrefslogtreecommitdiffstats
path: root/tests/ui/union/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/union/auxiliary')
-rw-r--r--tests/ui/union/auxiliary/union.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/union/auxiliary/union.rs b/tests/ui/union/auxiliary/union.rs
new file mode 100644
index 000000000..e785e35ae
--- /dev/null
+++ b/tests/ui/union/auxiliary/union.rs
@@ -0,0 +1,4 @@
+pub union U {
+ pub a: u8,
+ pub b: u16,
+}