summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test19656.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/test19656.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/test19656.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/test19656.d b/gcc/testsuite/gdc.test/compilable/test19656.d
new file mode 100644
index 00000000000..bcfd36ebb5b
--- /dev/null
+++ b/gcc/testsuite/gdc.test/compilable/test19656.d
@@ -0,0 +1,14 @@
+/*
+PERMUTE_ARGS:
+EXTRA_FILES: imports/test19656a.d imports/test19656b.d imports/test19656c.d
+*/
+
+import imports.test19656a;
+import imports.test19656c: Thud;
+
+class Foo
+{
+ Foo[Foo] _map;
+ void func (Thud ) { }
+ void thunk () { }
+}