// Contributed by Dodji Seketeli // Origin: PR c++/37142 // { dg-do compile } template class W> struct A {}; template struct B {}; int main () { A a; return 0; }