diff options
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/access2.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/overload4.C | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/overload5.C | 4 |
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 |