1 // { dg-options "-std=c++17 -fconcepts" }
3 template <int I> struct B { static const int i = I; };
4 template <int I> concept bool Few = I < 10;
6 constexpr int g(B<Few> b) { return b.i; }
8 #define SA(X) static_assert((X),#X)
10 SA(g(B<10>{}) == 10); // { dg-error "" }