1 // { dg-do compile { target c++11 } } 2 3 template < typename decltype (0) > struct A // { dg-error "expected|two or more" } 4 { fooA5 void foo () { baz (); } bazA6 template < typename ... S > void baz () {} 7 }; 8