diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/nested1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/nested1.C | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/nested1.C b/gcc/testsuite/g++.old-deja/g++.jason/nested1.C deleted file mode 100644 index 4405f3d0649..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/nested1.C +++ /dev/null @@ -1,12 +0,0 @@ -// Bug: g++ can't deal with function-local classes that talk about themselves. -// Build don't link: - -void foo() { - class Wrapper { - public: - void F (void * Wrapperptr) - { - Wrapper * wrapptr = ( Wrapper *) Wrapperptr; // gets bogus error - } - }; -} |