// { dg-do compile { target c++14 } } template const int V = 0; template <> const int V = 42; template struct A { using N = T; }; #define SA(X) static_assert((X),#X) template struct B { SA(V::N> == 42); }; B b;