Commit 67152996 by Jason Merrill

x

From-SVN: r21365
parent bc22fa98
// Build don't link:
struct A {
void f ();
};
typedef A foo;
void foo::f() { }
......@@ -14,10 +14,10 @@ typedef unsigned int other1_t;
template<class T> struct foo3 {};
template<class T, other1_t n> struct foo3<T[n]>;
foo3<char> bar3;
foo3<char[10]> baz3; // ERROR - incomplete type - XFAIL *-*-*
foo3<char[10]> baz3; // ERROR - incomplete type -
typedef int other2_t;
template<class T> struct foo4 {};
template<class T, other1_t n> struct foo4<T[n]>;
foo4<char> bar4;
foo4<char[10]> baz4; // ERROR - incomplete type - XFAIL *-*-*
foo4<char[10]> baz4; // ERROR - incomplete type -
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