]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this10.C
PR c++/86499
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / lambda / lambda-this10.C
CommitLineData
7b4d521e 1// PR c++/54383
2// { dg-do compile { target c++11 } }
3
5019ff12 4auto foo = [&](int a) { return a > this->b; }; // { dg-error "non-local|this" }