up
authorJason Merrill <jason@gcc.gnu.org>
Mon, 26 Oct 1998 02:03:08 +0000 (21:03 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 26 Oct 1998 02:03:08 +0000 (21:03 -0500)
From-SVN: r23341

gcc/testsuite/g++.old-deja/g++.jason/template18.C
gcc/testsuite/g++.old-deja/g++.mike/p6058.C
gcc/testsuite/g++.old-deja/g++.mike/virt4.C
gcc/testsuite/g++.old-deja/g++.other/delete2.C

index caa5817..622e8ac 100644 (file)
@@ -2,11 +2,14 @@
 // Bug: g++ emits template instances when it shouldn't.
 // Special g++ Options: -g -fexternal-templates
 
+// We mark this XFAIL for the 'collect2: ld returned 1 exit status' message.
+// excess errors test - XFAIL *-*-*
+
 #pragma implementation "irrelevant_file"
 #line 1 "template18.h"
 #pragma interface
 template <class T> inline T min (T a, T b) { return a<b?a:b; }
-#line 12 "template18.C" 
+#line 13 "template18.C"
 
 main()
 {
index aa78b7f..1c0c622 100644 (file)
@@ -4,7 +4,7 @@
 
 void bar(struct s1 { } a) { (void)a; }                 // ERROR - 
 
-struct s2*fooey()                                      // ERROR - XFAIL *-*-*
+struct s2*fooey()
 {
   try {
     static_cast<struct s3 { } *>(0);                   // ERROR - 
index 09362f6..d90def0 100644 (file)
@@ -5,8 +5,8 @@ struct foo {
 };
 
 void bar(foo a) {
-  delete a; // should be accepted - XFAIL *-*-*
-  delete[] a; // should be accepted - XFAIL *-*-*
+  delete a; // should be accepted
+  delete[] a; // should be accepted
   char b[1];
   delete b; // ERROR - expecting pointer type
   delete[] b; // ERROR - expecting pointer type