diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/friend.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/friend.C | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/friend.C b/gcc/testsuite/g++.old-deja/g++.jason/friend.C deleted file mode 100644 index 4c517cbeee4..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/friend.C +++ /dev/null @@ -1,18 +0,0 @@ -// Bug: g++ doesn't keep track of the lexical context of friends properly. - -extern "C" void exit(int); - -struct B; -struct A { - static void f () { exit (1); } -}; - -struct B { - static void f () { exit (0); } - friend void g () { f (); } -}; - -int main () -{ - g (); -} |