// PR c++/94830 // { dg-do compile { target concepts } } template concept c = __is_same(T, R); // { dg-message "with T = int; R = char" } template requires c void foo() { } void bar() { foo(); // { dg-error "no match" } }