// PR c++/67117 // { dg-do compile { target c++17 } } // { dg-options "-fconcepts" } template requires false constexpr bool v = true; template constexpr bool f() { return true; } template requires v constexpr bool f() { return false; } static_assert(f()); static_assert(v); // { dg-error "invalid" }