// PR c++/80384 // { dg-do compile { target c++17 } } template struct foo; template struct foo { static const bool value = B; }; static_assert(!foo::value); static_assert(foo::value);