]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / crash29.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
deleted file mode 100644 (file)
index b6af6a4..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link: 
-// GROUPS passed old-abort
-
-union Value
-{
-       Value(){}
-};
-
-struct GlobalAddress
-{// ERROR -  candidates .*
-       GlobalAddress(Value *nvar){}// ERROR - .*
-};
-
-int
-main()
-{
-       new GlobalAddress(Value());             // internal error occured here// ERROR -  no matching function .*
-       //new GlobalAddress(new Value());       // This line is correct code
-}