]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/opt/local1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / opt / local1.C
diff --git a/gcc/testsuite/g++.dg/opt/local1.C b/gcc/testsuite/g++.dg/opt/local1.C
deleted file mode 100644 (file)
index 9cecaee..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// { dg-options "-O" }
-
-struct Outer {
-  struct Inner { virtual bool f() = 0; };
-  void g(Inner &) const;
-};
-inline void h(const Outer &o)
-{
-  struct Local : public Outer::Inner {
-    virtual bool f() {};
-  };
-  Local l;
-  o.g(l);
-}
-void f(Outer &req) {
-  h (req);
-}