diff options
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_095.c')
| -rw-r--r-- | tests/usr.bin/xlint/lint1/msg_095.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_095.c b/tests/usr.bin/xlint/lint1/msg_095.c index cac45ae939a..5e83b6d42c1 100644 --- a/tests/usr.bin/xlint/lint1/msg_095.c +++ b/tests/usr.bin/xlint/lint1/msg_095.c @@ -1,4 +1,4 @@ -/* $NetBSD: msg_095.c,v 1.6 2023/03/28 14:44:34 rillig Exp $ */ +/* $NetBSD: msg_095.c,v 1.7 2023/07/07 06:03:31 rillig Exp $ */ # 3 "msg_095.c" // Test for message: declaration of '%s' hides earlier one [95] @@ -12,6 +12,7 @@ example(int identifier) { { + /* expect+2: warning: 'identifier' set but not used in function 'example' [191] */ /* expect+1: warning: declaration of 'identifier' hides earlier one [95] */ int identifier = 3; } |
