| 1 |
// PR c++/28048 |
| 2 |
|
| 3 |
template<typename T> struct Boom; |
| 4 |
|
| 5 |
template<typename T, bool D = Boom<T>::Internal::Value> // <--ICE |
| 6 |
struct Foo |
| 7 |
{ |
| 8 |
}; |
| 9 |
|
| 10 |
template<typename T> struct Boom |
| 11 |
{ |
| 12 |
struct Internal |
| 13 |
{ |
| 14 |
static const bool Value = false; |
| 15 |
}; |
| 16 |
}; |