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