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 caa5817badc2eeb9772c0eac3846b3e5c86795e5..622e8ac77308b32127417511e882e9789794c017 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 aa78b7ff63d400fd51d824907007156a852a1f67..1c0c6224ebc7235893b2085405a4f7da38c602f2 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 989701833b63c55cf043dd1a471348e38ba5088b..9750af6b0b5b64813efeb1dca6cc62ffa977fbdd 100644 (file)
@@ -1,3 +1,5 @@
+// Special g++ Options:
+
 void  Foo () {}
 
 class B {
index 09362f6895fb55d218e5a2b54e02949e900e4660..d90def03a3f976274983c6580322615e033b4bf9 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