blob: e6af294c1803b40a05fbbc9acf44264af8d496c5 [file] [log] [blame]
// 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'" }
}