Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/lambda-this8.C

raw
1 // PR c++/100493
2 // { dg-do compile { target c++17 } }
3 // { dg-options "" }
4
5 struct A {
6 void f() {
7 [=, this] { };
8 }
9 };