/* PR c++/14622. The invalid explicit instantiation was not reported. *//* { dg-do compile } */template<classT>classA{staticTa;};template<classT>TA<T>::a;structB{};templateBA<int>::a;/* { dg-error "does not match declared type" } */templatefloatA<float>::a;