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-this7.C
blob
ee202032a1809a8cfb094ba16d6cd4b2af83b1bc
1
// PR c++/54122
2
// { dg-do compile { target c++11 } }
3
4
enum E { F };
5
6
template <typename A>
7
struct C
8
{
9
E e;
10
void f () { auto l = [&](void)->void { if (e == F) return; }; }
11
};