1 #define MASK ((1 << __CHAR_BIT__) - 1) 2 foo(void)3 void foo(void) 4 { 5 _Static_assert((char) -1 == (-1 & MASK), "plain char is not unsigned"); 6 } 7 8 /* 9 * check-name: char-unsigned-native 10 * check-command: sparse --arch=arm -Wno-decl $file 11 */ 12