1 2 3 4 5 6 7 8 9
// PR c++/38656 // { dg-do compile { target c++11 } } template<int> int foo(); template<typename F> void bar(F f) { f((foo<0>()=0)...); // { dg-error "pattern '\\(foo\\<0\\>\\)\\(\\)=0'" } }