Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic76.C
blob: a9f8eabb34e42f4a9a47334aed7860931c05a2b5 [
file
] [
log
] [
blame
]
// PR c++/33496
// { dg-do compile }
// { dg-options "-std=gnu++0x" }
template
<
int
...
N
>
int
foo
()
{
return
sizeof
...
N
();
// { dg-error "cannot be used as a function" }
}
int
bar
()
{
return
foo
<
0
>
();
}