Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.14.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-this12.C
blob: ef573b19e02b56e1f6e1c5313c5f4845ab21deef [
file
] [
log
] [
blame
]
// Uses of 'this' in unevaluated context are not odr-uses.
// { dg-do compile { target c++11 } }
struct
A
{
int
f
()
{}
int
i
;
void
foo
()
{
[]
()
{
sizeof
(
i
);
sizeof
(
f
());
};
}
};