c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / error-recovery1.C
blob962571474fb9d6fb07bfbc9a181646d0d862bad1
1 // PR c++/43076
3 struct S;
4 template < typename > struct T
6   template < typename >
7   template < bool > struct T < S > // { dg-error "" }
8   {
9     void f () { // { dg-error "expected" }