param_key: fix container of when no struct member is referenced
[smatch.git] / validation / char-unsigned.c
blob354aa40d66c97dafe963841c8ba8ee16fea77daf
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: funsigned-char
10 * check-command: sparse -funsigned-char -Wno-decl $file