summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2023-06-30 19:10:49 +0000
committerrillig <rillig@NetBSD.org>2023-06-30 19:10:49 +0000
commit0f87102b13298d65c535c6bbe9490dcd619a1b76 (patch)
tree77c127abe99239ef07aafe3afb633739184eaf1a /tests
parentfdcc8cff871d19278241dae9c368bdb6c783d01a (diff)
lint: clean up handling of declarations
No functional change.
Diffstat (limited to 'tests')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_085.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_085.c b/tests/usr.bin/xlint/lint1/msg_085.c
index a18d9cab5d8..b77fd2f693f 100644
--- a/tests/usr.bin/xlint/lint1/msg_085.c
+++ b/tests/usr.bin/xlint/lint1/msg_085.c
@@ -1,8 +1,13 @@
-/* $NetBSD: msg_085.c,v 1.6 2023/03/28 14:44:34 rillig Exp $ */
+/* $NetBSD: msg_085.c,v 1.7 2023/06/30 19:10:49 rillig Exp $ */
# 3 "msg_085.c"
// Test for message: dubious tag declaration '%s %s' [85]
+/*
+ * Declarations of structs/unions/enums in parameter lists are allowed
+ * but useless.
+ */
+
/* lint1-extra-flags: -X 351 */
/* expect+1: warning: dubious tag declaration 'struct in_argument' [85] */