diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/overload6.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/overload6.C | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/overload6.C b/gcc/testsuite/g++.old-deja/g++.pt/overload6.C deleted file mode 100644 index 10f793a8633..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/overload6.C +++ /dev/null @@ -1,13 +0,0 @@ -// Check that foo<int> isn't resolved too early. - -template <class T> void foo(T*); -template <class T, class U> void foo(T*, U) { } - -template <class T, class U> void bar(void (*)(T, U), U) { } - -int main() { - bar<int*>(&foo, 1); - bar<int*>(&foo<int>, 1); - bar<int*>(foo, 1); - bar<int*>(foo<int>, 1); -} |