aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/foul-scalar.c
blob: 8e053b96edbd41c598546d34641a51f6a500d2db (plain)
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
 */