#if u8'\xff' != 0xff
fails in the preprocessor unless -funsigned-char is specified
#54886
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
From a discussion in https://reviews.llvm.org/D119221:
The following test case fails, unless
-funsigned-char
is specified;u8
character literals should always produce anunsigned char
in C2x.See also: https://godbolt.org/z/Tb7z85ToG
The text was updated successfully, but these errors were encountered: