repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: checking of pointer targets for structure constructors [PR56423]
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-variadic4.C
blob
ada25b3c0dcd1c619ede35ff63a875cd5747bde9
1
// PR c++/47226
2
// { dg-do compile { target c++11 } }
3
4
void slurp(...) { }
5
template<int ...N>
6
void print() {
7
slurp([]() -> int {
8
(void) N; // or something fancy...
9
return 0;
10
}() ...);
11
}