]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/error2.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / error2.C
CommitLineData
c7f06e13 1// PR c++/38656
4b2e63de 2// { dg-do compile { target c++11 } }
c7f06e13
PC
3
4template<int> int foo();
5
6template<typename F> void bar(F f)
7{
8 f((foo<0>()=0)...); // { dg-error "pattern '\\(foo\\<0\\>\\)\\(\\)=0'" }
9}
This page took 7.002258 seconds and 5 git commands to generate.