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
PR c++/80290
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr70100.C
blob
3f612cba3fb0fd02e15e8f4f9a6d5ef0f2628b8d
1
// PR middle-end/70100
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-O0" }
4
5
void
6
bar (int)
7
{
8
}
9
10
template <typename ... Args>
11
void
12
foo (Args && ... args)
13
{
14
[&] { [&] { bar(args...); }; };
15
}
16
17
int
18
main ()
19
{
20
foo (2);
21
}