Debian Codegraph @

gcc/testsuite/g++.dg/concepts/var-templ3.C

raw
1 // PR c++/68666
2 // { dg-do compile { target c++17 } }
3 // { dg-options "-fconcepts" }
4
5 struct A {
6 template <class>
7 static constexpr bool val = true;
8 };
9
10 template <class T>
11 concept C = A::val<T>;
12
13 template<C T>
14 struct B {};