diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/link1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/link1.C | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/link1.C b/gcc/testsuite/g++.old-deja/g++.pt/link1.C deleted file mode 100644 index b1991f62106..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/link1.C +++ /dev/null @@ -1,29 +0,0 @@ -// Build don't run: -// Origin: Mark Mitchell <mark@codesourcery.com> - -template <class T> -int f(T); - -template <class T> -struct S { - template <class U> - friend int f(U) { return 0; } -}; - -int k = f(2); - -template <class T> -int g(T); - -int h = g(7); - -template <class T> -int g(T) { - S<T> si; - return 0; -} - -int main() -{ -} - |