summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_011.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_011.c')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_011.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_011.c b/tests/usr.bin/xlint/lint1/msg_011.c
index 9a284445d78..fe9176fa091 100644
--- a/tests/usr.bin/xlint/lint1/msg_011.c
+++ b/tests/usr.bin/xlint/lint1/msg_011.c
@@ -1,4 +1,4 @@
-/* $NetBSD: msg_011.c,v 1.5 2021/08/26 19:23:25 rillig Exp $ */
+/* $NetBSD: msg_011.c,v 1.6 2023/07/07 06:03:31 rillig Exp $ */
# 3 "msg_011.c"
// Test for message: bit-field initializer out of range [11]
@@ -9,6 +9,7 @@ example(void)
struct {
signed int si: 3;
unsigned int ui: 3;
+ /* expect+1: warning: 's' set but not used in function 'example' [191] */
} s[] = {
/* expect+2: warning: bit-field initializer out of range [11] */
/* expect+1: warning: initialization of unsigned with negative constant [221] */