summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/imports/test17541_3.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/imports/test17541_3.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/imports/test17541_3.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/imports/test17541_3.d b/gcc/testsuite/gdc.test/compilable/imports/test17541_3.d
new file mode 100644
index 00000000000..5ddec9eee14
--- /dev/null
+++ b/gcc/testsuite/gdc.test/compilable/imports/test17541_3.d
@@ -0,0 +1,15 @@
+module three;
+
+void aaa() @nogc
+{
+
+}
+
+struct TT(T)
+{
+ void insertabcdefg(T) // @nogc <-- deduction problem
+ {
+ //static assert(insertabcdefg.mangleof == "_D5three__T2TTTiZQg13insertabcdefgMFiZv");
+ aaa();
+ }
+}