Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/lambda-specifiers2.C

raw
1 // PR c++/99850
2 // P1102R2 - Down with ()!
3 // { dg-do compile { target c++23 } }
4
5 auto l = []<auto> requires true -> void {};
6 template <typename...> concept C = true;
7 auto m = []<typename... Ts> requires (C<Ts> && ...) -> void {};