]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.robertl/eb102.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb102.C
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb102.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb102.C
deleted file mode 100644 (file)
index 9bbd47f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-// Error: intenral compiler error on 1998/05/28 snapshot.
-#include <stdio.h>
-#include <stdlib.h>
-
-void evilRises (void **ptr)
-{
-    int *pi;
-
-    pi = new int;
-
-    *pi = 0;
-
-    *ptr = (void *)pi;
-}
-
-int main (int argc, char *argv[])
-{
-#ifdef WORKAROUND
-    union foo
-#else
-    union
-#endif
-    {
-        int a;
-        int b;
-        int c;
-    } *fred, barney;
-
-    evilRises((void **)&fred);
-
-    barney = *fred;
-
-    return EXIT_SUCCESS;
-}