]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/inherit/typeinfo1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / inherit / typeinfo1.C
diff --git a/gcc/testsuite/g++.dg/inherit/typeinfo1.C b/gcc/testsuite/g++.dg/inherit/typeinfo1.C
deleted file mode 100644 (file)
index 794776e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-typedef struct {
-   virtual const char *blah() {
-     return "Heya::blah";
-   }
-} Heya;
-
-struct Grok : public Heya {
-   virtual const char *blah() {
-     return "Grok::blah";
-   }
-};
-
-int main() {
-   Grok *g = new Grok();
-   delete g;
-   return 0;
-}
-