☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-this16.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this16.C
code
plain
raw
1
// PR c++/56699
2
// { dg-require-effective-target c++11 }
3
4
struct A
5
{
6
int a;
7
};
8
9
struct T
10
{
11
int x;
12
13
T() : x([]{
14
sizeof(::A::a);
15
return 0;
16
}())
17
{}
18
};
19
20
struct B
21
{
22
int a;
23
};
24
25
void f()
26
{
27
[]{sizeof(B::a);};
28
}