// { dg-do compile { target c++2a } } template inline constexpr bool foo_v = false; template concept foo = (bool)(foo_v | foo_v); template requires (foo && ...) // { dg-message "19:with Ts = .int, char... evaluated to .false." } void bar() { } template struct S { }; template requires (foo> && ...) // { dg-message "22:with Is = .2, 3, 4... evaluated to .false." } void baz() { } void baz() { bar(); // { dg-error "no match" } baz<2,3,4>(); // { dg-error "no match" } }