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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-mangle3.C
blob
5f17a21cac484e208e67a6d87d0d31fedd675af6
1
// PR c++/51818
2
// { dg-do compile { target c++11 } }
3
// { dg-final { scan-assembler "_ZN1AC1IN3foo3barMUlvE_EEET_" } }
4
5
struct A
6
{
7
template <class T> A(T) { }
8
};
9
10
struct foo
11
{
12
A bar = []{};
13
};
14
15
foo f;