summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_165.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_165.c')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_165.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_165.c b/tests/usr.bin/xlint/lint1/msg_165.c
index 01b83dea1a3..e8fdd600a21 100644
--- a/tests/usr.bin/xlint/lint1/msg_165.c
+++ b/tests/usr.bin/xlint/lint1/msg_165.c
@@ -1,4 +1,4 @@
-/* $NetBSD: msg_165.c,v 1.4 2022/06/16 16:58:36 rillig Exp $ */
+/* $NetBSD: msg_165.c,v 1.5 2023/07/07 06:03:31 rillig Exp $ */
# 3 "msg_165.c"
// Test for message: constant truncated by assignment [165]
@@ -8,6 +8,7 @@ example(void)
{
unsigned char ch;
+ /* expect+2: warning: 'ch' set but not used in function 'example' [191] */
/* expect+1: warning: constant truncated by assignment [165] */
ch = 0x1234;
}