]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/defarg5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / defarg5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/defarg5.C b/gcc/testsuite/g++.old-deja/g++.other/defarg5.C
deleted file mode 100644 (file)
index ba15d96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Bug: the SAVE_EXPR in the new expression remembers that it's in g(),
-// causing the compiler to crash in h().
-
-// Build don't link:
-
-struct A {
-  A ();
-};
-
-void f (A* = new A);
-
-void g ()
-{
-  f ();
-}
-
-void h ()
-{
-  f ();
-}