summaryrefslogtreecommitdiff
path: root/regress/usr.bin/xlint/test-9.c
blob: 53281ed3deb7d29144294fcb3ef9142e53f1c85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*      $OpenBSD: test-9.c,v 1.2 2005/12/01 14:23:02 cloder Exp $	*/

/*
 * Placed in the public domain by Chad Loder <cloder@openbsd.org>.
 *
 * Test warning on inequality comparison of unsigned value with
 * 0.
 */

/* ARGSUSED */
int
main(int argc, char* argv[])
{
	unsigned int i;
	for (i = 100; i >= 0; i--)
		continue;

	return 0;
}