Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / error2.C
blobeb966362ccbb869ea04ebc985873fc9ca1363f5d
1 // PR c++/38656
2 // { dg-do compile { target c++11 } }
4 template<int> int foo();
6 template<typename F, int N> void bar(F f)
8   f((foo<N>()=0)...); // { dg-error "pattern '\\(foo\\<N\\>\\)\\(\\)=0'" }