summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/auxiliary/empty-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-consts/auxiliary/empty-struct.rs')
-rw-r--r--tests/ui/associated-consts/auxiliary/empty-struct.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/associated-consts/auxiliary/empty-struct.rs b/tests/ui/associated-consts/auxiliary/empty-struct.rs
new file mode 100644
index 000000000..93275e714
--- /dev/null
+++ b/tests/ui/associated-consts/auxiliary/empty-struct.rs
@@ -0,0 +1,9 @@
+pub struct XEmpty1 {}
+pub struct XEmpty2;
+pub struct XEmpty7();
+
+pub enum XE {
+ XEmpty3 {},
+ XEmpty4,
+ XEmpty6(),
+}