Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-qualified.C
blob: 40b539a6d88dbf0305cc9a52fd0aa433e58e17b7 [
file
] [
log
] [
blame
]
// PR c++/50089
// { dg-do compile { target c++11 } }
struct
TestBase
{
void
foo
()
{}
};
struct
Test
:
TestBase
{
void
foo
()
{
[
this
]{
/*this->*/
TestBase
::
foo
();
// ICE without this->
}();
}
};