https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55678
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Sure, "\'" is a valid C literal, but does that matter? The diagnostic printed by a _Static_assert is going to be displayed to the user on a terminal or in an IDE, not used as source code. Does it need to be a valid string literal?