GCC 의 버그인지, C 언어에 이에 대한 언급이 있는지 궁금합니다.
----
언급이 있죠.
6.4/3
[...] The categories of preprocessing tokens are: header names, identifiers,
preprocessing numbers, character constants, string literals, punctuators,
and single non-white-space characters that do not lexically match the other
preprocessing token categories.58) If a ' or a " character matches the last
category, the behavior is undefined.
undefined라는군요. 한 마디로 컴파일러 마음입니다.