summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test19066.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/test19066.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/test19066.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/test19066.d b/gcc/testsuite/gdc.test/compilable/test19066.d
new file mode 100644
index 00000000000..53d5005b364
--- /dev/null
+++ b/gcc/testsuite/gdc.test/compilable/test19066.d
@@ -0,0 +1,13 @@
+class C {}
+
+int Object;
+
+struct S
+{
+ int object;
+ C Object;
+}
+
+void main()
+{
+}