]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/nested1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / nested1.C
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 (file)
index 4405f3d..0000000
+++ /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 
-    }
-  };
-}