Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/lambda-requires3.C

raw
1 // PR c++/113925
2 // { dg-do compile { target c++20 } }
3
4 template<bool B>
5 struct b{};
6 static_assert(requires { b<([]()consteval{ return true; }())>{}; });