summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_182.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_182.c')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_182.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_182.c b/tests/usr.bin/xlint/lint1/msg_182.c
index 924c1cd952e..0b620ef9569 100644
--- a/tests/usr.bin/xlint/lint1/msg_182.c
+++ b/tests/usr.bin/xlint/lint1/msg_182.c
@@ -1,4 +1,4 @@
-/* $NetBSD: msg_182.c,v 1.4 2022/06/22 19:23:18 rillig Exp $ */
+/* $NetBSD: msg_182.c,v 1.5 2023/07/07 06:03:31 rillig Exp $ */
# 3 "msg_182.c"
// Test for message: incompatible pointer types to '%s' and '%s' [182]
@@ -13,6 +13,7 @@ return_discarding_volatile(volatile void *arg)
void
init_discarding_volatile(volatile void *arg)
{
+ /* expect+2: warning: 'array' set but not used in function 'init_discarding_volatile' [191] */
/* expect+1: warning: incompatible pointer types to 'void' and 'volatile void' [182] */
void *array[] = { arg };
}