summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test19540.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/test19540.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/test19540.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/test19540.d b/gcc/testsuite/gdc.test/compilable/test19540.d
new file mode 100644
index 00000000000..51328971a14
--- /dev/null
+++ b/gcc/testsuite/gdc.test/compilable/test19540.d
@@ -0,0 +1,2 @@
+alias inst = templ!();
+template templ(T = typeof(new class {})) {}