]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p6058.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p6058.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p6058.C b/gcc/testsuite/g++.old-deja/g++.mike/p6058.C
deleted file mode 100644 (file)
index 1c0c622..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Build don't link:
-// Special g++ Options: -fexceptions -pedantic-errors
-// prms-id: 6058
-
-void bar(struct s1 { } a) { (void)a; }                 // ERROR - 
-
-struct s2*fooey()
-{
-  try {
-    static_cast<struct s3 { } *>(0);                   // ERROR - 
-    const_cast<struct s4 { } *>((s4*)0);               // ERROR - 
-    reinterpret_cast<struct s5 { } *>((s3*)0);         // ERROR - 
-    dynamic_cast<struct s6 { } *>((s6*)0);             // ERROR - 
-    (struct s7 { } *)(int*)0xffedec;                   // ERROR - 
-  } catch (struct s8 { } s) {                          // ERROR - 
-  }
-  return 0;
-}