Debian Codegraph @

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

raw
1 // PR c++/106976
2 // { dg-do compile { target c++20 } }
3
4 struct S{
5 constexpr static auto s = requires { []; }; // { dg-error "expected '\{'" }
6 };