https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109936
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang rejects both: <source>:2:3: error: unexpected character <U+1F914> X(🤔) // emojis work ^~ <source>:3:3: error: unexpected character <U+2260> X(≠) // this "not equal" does NOT work! ^ GCC does reject both with -pedantic (in GCC 12+) though: <source>:2:3: error: extended character 🤔 is not valid in an identifier 2 | X(🤔) // emojis work | ^ <source>:3:3: error: extended character ≠ is not valid in an identifier 3 | X(≠) // this "not equal" does NOT work! | ^ This changed from GCC 9 where GCC would accept both ...