summaryrefslogtreecommitdiff
path: root/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C')
-rwxr-xr-xgcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C
new file mode 100755
index 0000000..908374b
--- /dev/null
+++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C
@@ -0,0 +1,8 @@
+// Build don't link:
+// GROUPS passed templates
+void foo(int);
+
+void bar()
+{
+ foo<int>(3); // ERROR - foo is not a template.
+}