Commit c2b9a5c4 by Jason Merrill

never mind

From-SVN: r15731
parent 318e85cf
// Build don't link:
struct X {
enum {
a = 0,
n = 0
};
};
template<class T1, class T2>
struct Y {
enum {
a = T1::a + T2::a,
n = meta_max<T1::n,T2::n>::max // Crash here.
};
};
int z = Y<X,X>::a;
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