aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/not-cast-bool.c
blob: af4224125c34269d9f09fa9d86cd23e9229de9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
static _Bool foo(void)
{
	unsigned char c = 1;
	_Bool b = ~c;
	return b;
}

/*
 * check-name: not-cast-bool
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-returns: 1
 */