1// PR c++/43076 2 3struct S; 4template < typename > struct T 5{ 6 template < typename > 7 template < bool > struct T < S > // { dg-error "" } 8 { 9 void f () { // { dg-error "" } 10