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-ice12.C
blob
d18aadfbd3ec925acf04f5120732f01d35c361bc
1
// PR c++/54250
2
// { dg-do compile { target c++11 } }
3
4
struct T
5
{
6
int a;
7
int foo()
8
{
9
return [&]()->int {
10
return [&](decltype(/*this->*/a) _)->int {
11
return 1;
12
}(a);
13
}();
14
}
15
};