repo.or.cz
/
official-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/openmp.cc: Fix var init and locus use to avoid uninit values [PR fortran...
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-variadic10.C
blob
ab790cf8c9c8de59ffaffb1258b8868e5311f4b1
1
// PR c++/84182
2
// { dg-do compile { target c++14 } }
3
4
template < typename ... T > void sink(T ...){}
5
6
template < typename >
7
void f(){
8
auto const lambda = [](int){ return 1; };
9
10
[lambda](auto ... i){
11
sink(lambda(i) ...);
12
}(1);
13
}
14
15
int main(){
16
f< int >();
17
}