summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-requires30.C
blob: f500af3f616405ac311a4d63d01a9b74d753c98e (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/105304
// { dg-do compile { target c++20 } }
// { dg-additional-options "-Wall -Wsequence-point" }

struct A { };

int main() {
  if (requires { A(); })
    ;
}