]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p7868.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p7868.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p7868.C b/gcc/testsuite/g++.old-deja/g++.mike/p7868.C
deleted file mode 100644 (file)
index d79e2aa..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-// prms-id: 7868
-
-struct DIAGTYP {
-};
-struct DIAGTYP1 {
-  struct DIAGTYP;       // ERROR - forward declaration
-  void bar() { new struct DIAGTYP; }   // ERROR - undefined
-  void foo() { new struct DIAGTYP1; }
-};
-
-int main () {
-  struct DIAGTYP;               // ERROR - forward declaration
-  struct DIAGTYP  *lerror_desc;
-  lerror_desc= new struct DIAGTYP;     // ERROR - undefined
-}
-
-void foo () {
-  struct DIAGTYP  *lerror_desc;
-  lerror_desc= new struct DIAGTYP;
-}