Commit 710afba4 by Alexandre Oliva

mark XFAIL where appropriate

From-SVN: r22819
parent 00f14949
......@@ -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 *-*-*
......
// 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);
}
// 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment