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
[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-init12.C
blob
97e90dd647f77182aeed101db1c5609db00464f7
1
// PR c++/62241
2
// { dg-do compile { target c++14 } }
3
4
template<typename Signature>
5
struct function
6
{
7
template<typename Functor>
8
function(Functor) { }
9
};
10
11
int main ()
12
{
13
int bar = 0;
14
function<void ()> { [foo = bar] { } };
15
}