aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/crash29.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/crash29.C19
1 files changed, 1 insertions, 18 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
index 855dd990be1..b5287f33795 100644
--- a/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
+++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash29.C
@@ -1,18 +1 @@
-// Build don't link:
-// GROUPS passed old-abort
-
-union Value
-{
- Value(){}
-};
-
-struct GlobalAddress
-{
- GlobalAddress(Value *nvar){}// ERROR - .*
-};// ERROR - candidates .*
-
-main()
-{
- new GlobalAddress(Value()); // internal error occured here// ERROR - no matching function .*
- //new GlobalAddress(new Value()); // This line is correct code
-}
+int