diff options
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_128.c')
| -rw-r--r-- | tests/usr.bin/xlint/lint1/msg_128.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_128.c b/tests/usr.bin/xlint/lint1/msg_128.c index d585bbc1f17..cd93367635d 100644 --- a/tests/usr.bin/xlint/lint1/msg_128.c +++ b/tests/usr.bin/xlint/lint1/msg_128.c @@ -1,4 +1,4 @@ -/* $NetBSD: msg_128.c,v 1.5 2022/06/22 19:23:18 rillig Exp $ */ +/* $NetBSD: msg_128.c,v 1.6 2023/07/07 06:03:31 rillig Exp $ */ # 3 "msg_128.c" // Test for message: operands of '%s' have incompatible pointer types to '%s' and '%s' [128] @@ -7,6 +7,7 @@ void conversion_to_unconst(const char *cstr) { char *str; + /* expect+2: warning: 'str' set but not used in function 'conversion_to_unconst' [191] */ /* expect+1: warning: operands of '=' have incompatible pointer types to 'char' and 'const char' [128] */ str = cstr; } |
