mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 23:40:02 +08:00
mark XFAIL where appropriate
From-SVN: r22819
This commit is contained in:
parent
00f1494939
commit
710afba434
@ -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 *-*-*
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user