// PR c++/92633 // { dg-do compile { target c++20 } } template concept different_than = !__is_same_as(A, B); template auto diff(B) { return [](different_than auto a) {}; } int main() { diff(42)(""); diff(42)(42); // { dg-error "no match" } }