summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_330.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_330.c')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_330.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_330.c b/tests/usr.bin/xlint/lint1/msg_330.c
index 618974482a3..dcd9f61ca00 100644
--- a/tests/usr.bin/xlint/lint1/msg_330.c
+++ b/tests/usr.bin/xlint/lint1/msg_330.c
@@ -1,4 +1,4 @@
-/* $NetBSD: msg_330.c,v 1.6 2023/03/28 14:44:35 rillig Exp $ */
+/* $NetBSD: msg_330.c,v 1.7 2023/07/09 10:42:07 rillig Exp $ */
# 3 "msg_330.c"
// Test for message: operand of '%s' must be bool, not '%s' [330]
@@ -19,10 +19,10 @@ example(bool b, char c, int i)
called(!b);
/* expect+2: error: operand of '!' must be bool, not 'char' [330] */
- /* expect+1: error: argument #1 expects '_Bool', gets passed 'int' [334] */
+ /* expect+1: error: argument 1 expects '_Bool', gets passed 'int' [334] */
called(!c);
/* expect+2: error: operand of '!' must be bool, not 'int' [330] */
- /* expect+1: error: argument #1 expects '_Bool', gets passed 'int' [334] */
+ /* expect+1: error: argument 1 expects '_Bool', gets passed 'int' [334] */
called(!i);
}