- Notifications
You must be signed in to change notification settings - Fork14.5k
Closed
Description
From a discussion inhttps://reviews.llvm.org/D119221:
The following test case fails, unless-funsigned-char
is specified;u8
character literals should always produce anunsigned char
in C2x.
#if u8'\xff' != 0xff#error uh oh#endif
See also:https://godbolt.org/z/Tb7z85ToG