aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/not-cast-float.c
blob: 445b91d7563e09508b8f8d464cdad7fba313bf74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
static int foo(void)
{
	int i = 123;
	float x = ~i;
	return (x < 0);
}

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