1 2 3 4 5 6 7 8 9 10 11 12 13
#define __bitwise __attribute__((bitwise)) typedef unsigned short __bitwise __be16; static void foo(__be16 x) { if (~x) ; } /* * check-name: foul-scalar */