// PR c++/32565 // { dg-do compile { target c++11 } } // { dg-options -fnew-ttp-matching } template struct A1; template class T> struct A1 > {}; template struct B1 {}; A1 > a1; template struct B2 {}; A1 > a2;