blob: cc5ee5fa8e65040848584f5eb9e833080780ed5b [file] [log] [blame]
// PR c++/68666
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
struct A {
template <class>
static constexpr bool val = true;
};
template <class T>
concept bool C = A::val<T>;
C{T} struct B {};