☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-requires30.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-requires30.C
code
plain
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
}