never mind
From-SVN: r15731
This commit is contained in:
parent
318e85cf8d
commit
c2b9a5c49d
@ -1,20 +0,0 @@
|
||||
// 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;
|
Loading…
Reference in New Issue
Block a user