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