Debian Codegraph @

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

raw
1 // PR c++/109961
2 // { dg-do compile { target c++20 } }
3
4 auto a = requires{
5 []( int b ) consteval {
6 if( b ) {
7 throw b;
8 }
9 }( 0 );
10 };