Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
error2.C
blob: eb966362ccbb869ea04ebc985873fc9ca1363f5d [
file
] [
log
] [
blame
]
// PR c++/38656
// { dg-do compile { target c++11 } }
template
<int>
int
foo
();
template
<
typename
F
,
int
N
>
void
bar
(
F f
)
{
f
((
foo
<
N
>()=
0
)...);
// { dg-error "pattern '\\(foo\\<N\\>\\)\\(\\)=0'" }
}