diff options
Diffstat (limited to 'regress/usr.bin/xlint/test-9.c')
-rw-r--r-- | regress/usr.bin/xlint/test-9.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/usr.bin/xlint/test-9.c b/regress/usr.bin/xlint/test-9.c new file mode 100644 index 00000000000..0d311647651 --- /dev/null +++ b/regress/usr.bin/xlint/test-9.c @@ -0,0 +1,19 @@ +/* $OpenBSD: test-9.c,v 1.1 2005/12/01 05:19:25 cloder Exp $ */ + +/* + * Placed in the public domain by Chad Loder <cloder@openbsd.org>. + * + * Test warning on things declared in the translation unit but never + * defined. + */ + +/* ARGSUSED */ +int +main(int argc, char* argv[]) +{ + unsigned int i; + for (i = 100; i >= 0; i--) + continue; + + return 0; +} |