https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111840
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Last reconfirmed| |2023-10-17 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- We also allow: int f2() = delete[""]; int f3() = delete{""}; int f3() = delete""; And this compiles without error! int f() = delete[{'a'""; int i = f();