summaryrefslogtreecommitdiff
path: root/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit25.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/explicit25.C')
-rwxr-xr-xgcc_arm/testsuite/g++.old-deja/g++.pt/explicit25.C13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit25.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit25.C
new file mode 100755
index 0000000..0225216
--- /dev/null
+++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit25.C
@@ -0,0 +1,13 @@
+// Build don't link:
+// GROUPS passed templates
+template <int I>
+class S {};
+
+template <int I, class T>
+void foo(T t, S<I>);
+
+void bar()
+{
+ S<3> s3;
+ foo<3>("abc", s3);
+}