// PR c++/14122 extern const char str[]; template struct A { template void foo(); }; template class A;