aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@gcc.gnu.org>1998-10-04 15:44:37 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1998-10-04 15:44:37 +0000
commit710afba434d439bccf7932fba2665119c844b196 (patch)
treebe7807a27084a3a41f2f3a3ed2557cf69a77f25c
parent00f14949396a96735e8a4dd5ee98e7f880b2352d (diff)
downloadgcc-710afba434d439bccf7932fba2665119c844b196.zip
gcc-710afba434d439bccf7932fba2665119c844b196.tar.gz
gcc-710afba434d439bccf7932fba2665119c844b196.tar.bz2
mark XFAIL where appropriate
From-SVN: r22819
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/access2.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/overload4.C8
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/overload5.C4
3 files changed, 9 insertions, 5 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/access2.C b/gcc/testsuite/g++.old-deja/g++.other/access2.C
index b981f2f..beb02a1 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/access2.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/access2.C
@@ -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 *-*-*
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/overload4.C b/gcc/testsuite/g++.old-deja/g++.pt/overload4.C
index 78e271b..a62f61b 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/overload4.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/overload4.C
@@ -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);
}
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/overload5.C b/gcc/testsuite/g++.old-deja/g++.pt/overload5.C
index f705c24..ca1a0d3 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/overload5.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/overload5.C
@@ -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