1 struct A { static const bool b=false; };
3 struct B { typedef A X; };
5 template <bool> struct C {};
7 template <typename T> struct D
9 C<T::X> c; // { dg-error "parsed as a non-type|if a type is meant" }
12 D<B> d; // { dg-error "instantiated from here" }