diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-05-05 06:48:21 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-05-05 06:48:21 +0000 |
commit | ac3aa159991c8130c400075c25661e292f2d41dc (patch) | |
tree | 65ca9975a0c85f5ce77dc7d2075f955e784fe3b1 /regress/usr.bin | |
parent | 77cf88cbcfa5f55a04c426a541915f60241122ba (diff) |
SEGVs have been fixed, so include proper expected output
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/xlint/test-21.c | 3 | ||||
-rw-r--r-- | regress/usr.bin/xlint/test-21.c.exp | 2 | ||||
-rw-r--r-- | regress/usr.bin/xlint/test-22.c.exp | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/regress/usr.bin/xlint/test-21.c b/regress/usr.bin/xlint/test-21.c index 6da7d4bef32..d995da4535b 100644 --- a/regress/usr.bin/xlint/test-21.c +++ b/regress/usr.bin/xlint/test-21.c @@ -1,4 +1,4 @@ - /* $OpenBSD: test-21.c,v 1.1 2006/05/03 18:45:25 cloder Exp $*/ + /* $OpenBSD: test-21.c,v 1.2 2006/05/05 06:48:20 otto Exp $*/ /* * Placed in the public domain by Chad Loder <cloder@openbsd.org>. @@ -12,6 +12,7 @@ struct foo }; int bar(int, unsigned int(int, const struct foo *, int)); +int baz(int *(void *)); /* ARGSUSED */ int diff --git a/regress/usr.bin/xlint/test-21.c.exp b/regress/usr.bin/xlint/test-21.c.exp index b591b702fb4..ab50994ac61 100644 --- a/regress/usr.bin/xlint/test-21.c.exp +++ b/regress/usr.bin/xlint/test-21.c.exp @@ -1 +1,3 @@ Lint pass2: +test-21.c:14: bar declared, but never used or defined +test-21.c:15: baz declared, but never used or defined diff --git a/regress/usr.bin/xlint/test-22.c.exp b/regress/usr.bin/xlint/test-22.c.exp index b591b702fb4..03044059041 100644 --- a/regress/usr.bin/xlint/test-22.c.exp +++ b/regress/usr.bin/xlint/test-22.c.exp @@ -1 +1,2 @@ +test-22.c:15: warning: foo set but not used in function main Lint pass2: |