Debian Codegraph @

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

raw
1 // PR c++/101247
2 // { dg-do compile { target concepts } }
3
4 template<class T, class U> struct A {
5 template<class> static constexpr bool d = true;
6 static void g() requires d<U>;
7 };
8
9 int main() {
10 A<int, char>::g();
11 }