☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-memtmpl5.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-memtmpl5.C
code
plain
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
}