diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.pt/explicit9.C | 8 |
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. +} |