https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109936
Adam Wozniak <adam at wozniakconsulting dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Status|RESOLVED |UNCONFIRMED Version|11.3.0 |12.1.0 --- Comment #4 from Adam Wozniak <adam at wozniakconsulting dot com> --- reopening. this is not at all "expected". C++ papers P1041R4 and P1139R2 cover literal constants in code. they do not at all cover anything about arguments to C preprocessor macros. in this case, the macro generates no code. it should be perfectly legal to use these as arguments. note the emoji passes through flawlessly. bug also exists in 12.1.0, so updating "Version".