Debian Codegraph @

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

raw
1 // PR c++/118060
2 // { dg-do compile { target c++20 } }
3
4 int* f(int);
5
6 template<class T>
7 struct A {
8 template<class U> requires requires (U u) { *f(u); }
9 A(T, U);
10 };
11
12 A a{0, 0};