aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/range-check1.c
blob: 82b939917da443fbcb85cf16f0e8d17165d7ca6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define N	1024

_Bool check_ok(long i)
{
	return i >= 0 && i < N;
}

/*
 * check-name: range-check1
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: setbe\\..*0x3ff
 * check-output-excludes: set[lga][te]\\.
 * check-output-excludes: set[ab]\\.
 */