https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95596
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- So this is essentially: struct S { S(const char *); }; void foo(char *) = delete; void foo(S); void g () { foo (""); } which compiles with clang++ but not with gcc.