// PR c++/94808 // { dg-do compile { target concepts } } template concept c1 = requires (T t, Args... args) { *t; }; // { dg-message "in requirements with .T t., .Args ... args. .with T = int; Args = \{\}" "" { target *-*-* } .-1 } static_assert(c1); // { dg-error "failed" } void f(...); template concept c2 = requires (Args... args) { f(*args...); }; // { dg-message "in requirements with .Args ... args. .with Args = \{int, char\}" "" { target *-*-* } .-1 } static_assert(c2); // { dg-error "failed" }