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