Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-qualified.C

raw
1 // PR c++/50089
2 // { dg-do compile { target c++11 } }
3
4 struct TestBase
5 {
6 void foo() {}
7 };
8
9 struct Test : TestBase
10 {
11 void foo()
12 {
13 [this]{
14 /*this->*/TestBase::foo(); // ICE without this->
15 }();
16 }
17 };