aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-requires25.C
blob: 90cbedb51d41db4b78ed4c14a6f05df384d2c9bf (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/101182
// { dg-do compile { target concepts } }

int a;
void g(bool);

bool f() {
  g(requires { a++; });
  return requires { a++; };
}