blob: ef041c2bb900daef57be5fcb46c9b84b2b0092eb [file] [log] [blame]
// PR c++/50089
// { dg-options -std=c++0x }
struct TestBase
{
void foo() {}
};
struct Test : TestBase
{
void foo()
{
[this]{
/*this->*/TestBase::foo(); // ICE without this->
}();
}
};