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