param_key: fix container of when no struct member is referenced
[smatch.git] / validation / char-unsigned-native.c
blobb86458427da2768af599088b6f118862c4d7af12
1 #define MASK ((1 << __CHAR_BIT__) - 1)
3 void foo(void)
5 _Static_assert((char) -1 == (-1 & MASK), "plain char is not unsigned");
8 /*
9 * check-name: char-unsigned-native
10 * check-command: sparse --arch=arm -Wno-decl $file