OSDN Git Service

mark XFAIL where appropriate
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Oct 1998 15:44:37 +0000 (15:44 +0000)
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Oct 1998 15:44:37 +0000 (15:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22819 138bc75d-0d04-0410-961f-82ee72b054a4

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 b981f2f..beb02a1 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 78e271b..a62f61b 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 f705c24..ca1a0d3 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