]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/local3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / local3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/local3.C b/gcc/testsuite/g++.old-deja/g++.other/local3.C
deleted file mode 100644 (file)
index 0a248b1..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Bug: g++ lies about DECL_CONTEXT, so the backend thinks B::f is not
-// function-local.
-// Contributed by Jason Merrill <jason@cygnus.com>
-// excess errors test
-
-struct A {
-  virtual void f () = 0;
-};
-
-int main()
-{
-   struct B : public A {
-     void f () { }
-   }; 
-
-   B b;
-}