diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/spec5.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/spec5.C | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec5.C b/gcc/testsuite/g++.old-deja/g++.pt/spec5.C deleted file mode 100644 index 553d95659f0..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/spec5.C +++ /dev/null @@ -1,20 +0,0 @@ -// Build don't link: - -template <class T> -void f(T t1, T t2); - -template <> -void f(int i, int j); - -template <class T> -void g(T t1, T t2) {} - -template void g(int i, int j); - -void h() -{ - f(3, 'c'); // ERROR - no matching function - g(3, 'c'); // ERROR - no matching function -} - - |