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_331.c | |
| parent | b2782b14a8e5066f0436d79a391ce49f9e782b76 (diff) | |
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_331.c')
| -rw-r--r-- | tests/usr.bin/xlint/lint1/msg_331.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_331.c b/tests/usr.bin/xlint/lint1/msg_331.c index bd21007585b..28c2c238fb1 100644 --- a/tests/usr.bin/xlint/lint1/msg_331.c +++ b/tests/usr.bin/xlint/lint1/msg_331.c @@ -1,4 +1,4 @@ -/* $NetBSD: msg_331.c,v 1.5 2023/03/28 14:44:35 rillig Exp $ */ +/* $NetBSD: msg_331.c,v 1.6 2023/07/09 10:42:07 rillig Exp $ */ # 3 "msg_331.c" // Test for message: left operand of '%s' must be bool, not '%s' [331] @@ -18,11 +18,11 @@ example(bool b, char c, int i) test(b && b); /* expect+2: error: left operand of '&&' must be bool, not 'char' [331] */ - /* expect+1: error: argument #1 expects '_Bool', gets passed 'int' [334] */ + /* expect+1: error: argument 1 expects '_Bool', gets passed 'int' [334] */ test(c && b); /* expect+2: error: left operand of '&&' must be bool, not 'int' [331] */ - /* expect+1: error: argument #1 expects '_Bool', gets passed 'int' [334] */ + /* expect+1: error: argument 1 expects '_Bool', gets passed 'int' [334] */ test(i && b); test(c != '\0'); |
