Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/explicit-obj-lambda15.C

raw
1 // PR c++/119038
2 // { dg-do compile { target c++23 } }
3
4 struct A {
5 void f() {
6 [&](auto x) { g(x); h(x); }(0);
7 }
8
9 void g(this A&, int);
10 void h(this auto&, auto);
11 };