Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic76.C
blob: d8d1ef9d4ffdeafa97e239e8aac74964c86bc004 [
file
] [
log
] [
blame
]
// PR c++/33496
// { dg-do compile { target c++11 } }
template
<
int
...
N
>
int
foo
()
{
return
sizeof
...
(
N
());
// { dg-error "" }
return
sizeof
...
(
N
)
();
// { dg-error "" }
}
int
bar
()
{
return
foo
<
0
>
();
}