Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-this12.C
blob: 41e4edd8a0fbcee598433392a81b97406aa1c61a [
file
] [
log
] [
blame
]
// Uses of 'this' in unevaluated context are not odr-uses.
// { dg-do compile { target c++11 } }
struct
A
{
int
f
()
{
return
0
;
}
int
i
;
void
foo
()
{
[]
()
{
sizeof
(
i
);
sizeof
(
f
());
};
}
};