diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/explicit39.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.pt/explicit39.C | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit39.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit39.C new file mode 100755 index 0000000..906ef30 --- /dev/null +++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/explicit39.C @@ -0,0 +1,7 @@ +template <class T> +void f(int i); + +void g() +{ + f<7>(3); // ERROR - no matching function. +} |