]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
expectations
authorJason Merrill <jason@gcc.gnu.org>
Mon, 27 Jul 1998 10:58:12 +0000 (06:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 27 Jul 1998 10:58:12 +0000 (06:58 -0400)
From-SVN: r21408

gcc/testsuite/g++.old-deja/g++.pt/explicit69.C
gcc/testsuite/g++.old-deja/g++.pt/partial2.C
gcc/testsuite/g++.old-deja/g++.robertl/eb131.C
gcc/testsuite/g++.old-deja/g++.robertl/eb132.C
gcc/testsuite/g++.old-deja/g++.robertl/eb56.C

index 671cf005de5093709baebe7a557d3e1ec3b3d26d..f42b96d55b29693834652b96b27b78a24a25d2fc 100644 (file)
@@ -1,2 +1,2 @@
 //Build don't link:
-template class x {}; // ERROR - not a template instantiation
+template class x {}; // ERROR - not a template instantiation XFAIL *-*-*
index 99485347b94c161a29f2bb58178139991068031f..cdf2199b012f216412245bffa7b55347e6b3cac4 100644 (file)
@@ -14,10 +14,10 @@ typedef unsigned int other1_t;
 template<class T> struct foo3 {};
 template<class T, other1_t n> struct foo3<T[n]>;
 foo3<char> bar3;
-foo3<char[10]> baz3; // ERROR - incomplete type - XFAIL *-*-*
+foo3<char[10]> baz3; // ERROR - incomplete type - 
 
 typedef int other2_t;
 template<class T> struct foo4 {};
 template<class T, other1_t n> struct foo4<T[n]>;
 foo4<char> bar4;
-foo4<char[10]> baz4; // ERROR - incomplete type - XFAIL *-*-*
+foo4<char[10]> baz4; // ERROR - incomplete type - 
index 5f281af1ac795a472c74d7e9dd23de2b526e5820..faa391df4a42c7df93d8822a10872f9846835dcd 100644 (file)
@@ -10,12 +10,12 @@ struct a {
        void bar( double );
        void bar( float );
 
-       void foo( void (a::*member)(float) ); // ERROR -
+       void foo( void (a::*member)(float) ); // ERROR - 
 };
 
 a::a()
 {
        foo( &junk ); // ERROR - junk is an unqualified-id.
-       foo( &bar );  // ERROR - bar is an unqualified-id.
+       foo( &bar );  // ERROR - bar is an unqualified-id. XFAIL *-*-*
 }
 
index 6b7b020abf3dd615737cf57abe3b09fd54cec819..9af64dab1e60f6a43ad54a772773995dff1a2ba1 100644 (file)
@@ -3,11 +3,14 @@
 // Reported against EGCS snaps 98/06/28.
 // Special g++ Options: -O -Wall  -fgcse -frerun-loop-opt
 //
-// Compilation of this program with the flags g++ -Wall -O -fgcse -frerun-loop-opt
-// or -O2 produces spurious warnings in the standard header <std/bastring.h>.
+// Compilation of this program with the flags g++ -Wall -O -fgcse
+// -frerun-loop-opt or -O2 produces spurious warnings in the standard
+// header <std/bastring.h>.
 //
 // They vanish if the declaration of a::b is taken out.
 
+// excess errors test - XFAIL *-*-*
+
 #include <string>
 
 string foo();
index 3d260c380ffe4e3da763dd62f2e7b28a1c4b673d..2d497f8b4e366ba36a98f1934ae324c45b141b9f 100644 (file)
@@ -1,9 +1,9 @@
-
 // Error: Internal compiler error on 1998/05/28 snapshot.
+// Build don't link:
 
-        class foo {
-                typedef int sometype;
-        };
+class foo {
+        typedef int sometype;
+};
 
-        struct die : public foo::sometype {
-        };
+struct die : public foo::sometype { // ERROR - invalid base type
+};