OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic119.C
1
// PR c++/51046
2
// { dg-do compile { target c++11 } }
3
4
template<int... IS>
5
void f()
6
{
7
for (int i : IS); // { dg-error "not expanded" }
8
}
9
10
int main()
11
{
12
f<0, 1, 2>();
13
}