Debian Codegraph @

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

raw
1 // PR c++/92582
2 // { dg-do compile { target concepts } }
3
4 template <class a, class> concept b = true;
5 template <typename> struct A {
6 template <typename c> static constexpr bool d = b<c, int>;
7 template <typename c> static void f(c) requires d<c>;
8 };
9 int main()
10 {
11 A<void>::f(0);
12 }