Debian Codegraph @

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

raw
1 // PR c++/121854
2 // { dg-do compile { target c++23 } }
3
4 struct S
5 {
6 static void static_func(){}
7
8 void func()
9 {
10 auto lambda = [](this auto)
11 {
12 static_func();
13 };
14 }
15 };