diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/friend7.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/friend7.C | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend7.C b/gcc/testsuite/g++.old-deja/g++.pt/friend7.C deleted file mode 100644 index 2962d924531..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/friend7.C +++ /dev/null @@ -1,25 +0,0 @@ -template <class T> -void f(T); - -template <class U> -class C -{ - template <class T> - friend void f(T); - - int i; -}; - - -template <class T> -void f(T) -{ - C<T> c; - c.i = 3; -} - - -int main() -{ - f(7); -} |