Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic119.C
blob: 78cd23e20516d2d0775c856e55766bacf0a8aa4e [
file
] [
log
] [
blame
]
// PR c++/51046
// { dg-do compile { target c++11 } }
template
<
int
...
IS
>
void
f
()
{
for
(
int
i
:
IS
);
// { dg-error "not expanded" }
}
int
main
()
{
f
<
0
,
1
,
2
>();
}