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