aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/explicit14.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/explicit14.C')
-rw-r--r--gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/explicit14.C14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/explicit14.C b/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/explicit14.C
new file mode 100644
index 000000000..132845d85
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/explicit14.C
@@ -0,0 +1,14 @@
+// { dg-do assemble }
+// GROUPS passed templates
+template <class T>
+struct S
+{
+ template <class U>
+ typename U::R foo(U u);
+};
+
+
+void bar()
+{
+ S<int> si;
+}