diff options
| author | rillig <rillig@NetBSD.org> | 2023-07-02 23:40:23 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2023-07-02 23:40:23 +0000 |
| commit | 369d3f5ede350876c7202bf19e3d8152d6ef607e (patch) | |
| tree | e3489f08a6d3f18b8a30f0ceca9302e5d0b8ef3e /tests | |
| parent | 98b3ac66e0307baac83f3e28ac02ed2f1da2f29a (diff) | |
lint: add initial support for C23
Required by xsrc/external/mit/MesaLib.old, brw_eu_validate.c, which
initializes a struct using empty braces: 'return (struct string){};'.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/usr.bin/xlint/lint1/t_usage.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/usr.bin/xlint/lint1/t_usage.sh b/tests/usr.bin/xlint/lint1/t_usage.sh index 873d950eed8..031a5041d45 100644 --- a/tests/usr.bin/xlint/lint1/t_usage.sh +++ b/tests/usr.bin/xlint/lint1/t_usage.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_usage.sh,v 1.9 2023/06/30 08:45:22 rillig Exp $ +# $NetBSD: t_usage.sh,v 1.10 2023/07/02 23:40:23 rillig Exp $ # # Copyright (c) 2023 The NetBSD Foundation, Inc. # All rights reserved. @@ -39,13 +39,13 @@ suppress_messages_body() # The largest known message. atf_check \ - "$lint1" -X 352 code.c /dev/null + "$lint1" -X 353 code.c /dev/null # Larger than the largest known message. atf_check \ -s 'exit:1' \ - -e "inline:lint1: invalid message ID '353'\n" \ - "$lint1" -X 353 code.c /dev/null + -e "inline:lint1: invalid message ID '354'\n" \ + "$lint1" -X 354 code.c /dev/null # Whitespace is not allowed before a message ID. atf_check \ |
