Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-requires30.C

raw
1 // PR c++/105304
2 // { dg-do compile { target c++20 } }
3 // { dg-additional-options "-Wall -Wsequence-point" }
4
5 struct A { };
6
7 int main() {
8 if (requires { A(); })
9 ;
10 }