// PR c++/66260 // { dg-do assemble { target c++14 } } template constexpr bool foo = false; template <> constexpr bool foo = true; template constexpr bool foo = foo; static_assert(foo, ""); static_assert(!foo, ""); static_assert(foo, ""); static_assert(!foo, ""); static_assert(foo, ""); static_assert(!foo, "");