summaryrefslogtreecommitdiff
path: root/regress/usr.bin/xlint/test-18.c.exp
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2006-04-20 04:03:06 +0000
committerChad Loder <cloder@cvs.openbsd.org>2006-04-20 04:03:06 +0000
commit92c27456c3dd43c210e53ed198574cb2b7a4607a (patch)
tree1bc3a75ee113f885c1aa491860a0fc63ac75db10 /regress/usr.bin/xlint/test-18.c.exp
parent00d56bd9227f67c61586bcb87e2c3410e50a8b9a (diff)
Test for (soon to be coming) LINTUSED special comment
Diffstat (limited to 'regress/usr.bin/xlint/test-18.c.exp')
-rw-r--r--regress/usr.bin/xlint/test-18.c.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/usr.bin/xlint/test-18.c.exp b/regress/usr.bin/xlint/test-18.c.exp
new file mode 100644
index 00000000000..0035ce58b29
--- /dev/null
+++ b/regress/usr.bin/xlint/test-18.c.exp
@@ -0,0 +1,3 @@
+test-18.c:20: warning: c unused in function main
+Lint pass2:
+test-18.c:12: u defined, but never used