// PR c++/38656 // { dg-do compile { target c++11 } } template int foo(); template void bar(F f) { f((foo<0>()=0)...); // { dg-error "pattern '\\(foo\\<0\\>\\)\\(\\)=0'" } }