// { dg-do compile { target c++17 } } // { dg-options "-fconcepts" } template struct B { static const int i = I; }; template concept Few = I < 10; constexpr int g(B b); // { dg-error "does not constrain a type|invalid" }