// { dg-do compile { target c++17 } } // { dg-options "-fconcepts" } template concept one_or_two = true; template concept one = one_or_two

; template constexpr void foo() { if (one) // OK { } if (one_or_two) // { dg-bogus "before" } { } }