mark XFAIL where appropriate
authorAlexandre Oliva <oliva@gcc.gnu.org>
Sun, 4 Oct 1998 15:44:37 +0000 (15:44 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Sun, 4 Oct 1998 15:44:37 +0000 (15:44 +0000)
From-SVN: r22819

gcc/testsuite/g++.old-deja/g++.other/access2.C
gcc/testsuite/g++.old-deja/g++.pt/overload4.C
gcc/testsuite/g++.old-deja/g++.pt/overload5.C

index b981f2f324db8dd2171e9ee0b6cbccf8410829e0..beb02a1f7d865c64eda395167a379ebe879fe48b 100644 (file)
@@ -3,7 +3,7 @@
 
 class Outer {
   typedef int T;
-  class Inner {
+  struct Inner {
     T i; // ERROR - not accessible - XFAIL *-*-*
     void f() {
       T j; // ERROR - not accessible - XFAIL *-*-*
index 78e271b6a3e8b8af68f2d1f71a5bc53fee669452..a62f61b0e0babeb387287e1f1f144130e2351807 100644 (file)
@@ -1,12 +1,14 @@
 // Build don't link:
 
+// crash test - XFAIL *-*-*
+
 template <class T> void foo(T);
 
 template <class T> void bar(void (*)(T), T);
 
 void baz() {
   bar<int>(foo, 1);
-  bar(foo<int>, 1); // explicit args for foo don't help - XFAIL *-*-*
-  bar<int>(foo<int>, 1); // not even here - XFAIL *-*-*
-  bar(foo, 1); // ICE - XFAIL *-*-*
+  bar(foo<int>, 1); // explicit args for foo don't help
+  bar<int>(foo<int>, 1); // not even here
+  bar(foo, 1);
 }
index f705c245a70156ff7836d39677a7436d1cedfc17..ca1a0d3b2d74895ba79672a959b646cf134b27c1 100644 (file)
@@ -1,6 +1,8 @@
 // Build don't link:
 
+// crash test - XFAIL *-*-*
+
 template <class T> void foo();
 
 void (*bar)() = foo<void>;
-void (*baz)() = foo; // ERROR - can't deduce T - XFAIL *-*-*
+void (*baz)() = foo; // ERROR - can't deduce T