Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-lambda24.C

raw
1 // PR c++/120123
2 // { dg-do compile { target c++20 } }
3
4 struct H {
5 void member(int) {}
6 void call() {
7 [this]() {
8 [this](const auto& v)
9 requires requires { /*this->*/member(v); }
10 { return member(v); }(0);
11 };
12 }
13 };