diff options
| author | rillig <rillig@NetBSD.org> | 2023-07-09 10:42:07 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2023-07-09 10:42:07 +0000 |
| commit | 61a832267cc5bff1a90f086bd56309a3a0671255 (patch) | |
| tree | 6f663ed82c04970fa2f72561dc8eb6681e5f29fe /tests/usr.bin/xlint/lint1/msg_330.c | |
| parent | b2782b14a8e5066f0436d79a391ce49f9e782b76 (diff) | |
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_330.c')
| -rw-r--r-- | tests/usr.bin/xlint/lint1/msg_330.c | 6 |
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); } |
