blob: 20b9c9316489092e91ec05ef38d46a1c49a66cf1 [file] [log] [blame]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template <int I> struct B { static const int i = I; };
template <int I> concept bool Few = I < 10;
constexpr int g(B<Few> b); // { dg-error "does not constrain a type|invalid" }