summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_090.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_090.c')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_090.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_090.c b/tests/usr.bin/xlint/lint1/msg_090.c
index 15f85133b0c..a3238315547 100644
--- a/tests/usr.bin/xlint/lint1/msg_090.c
+++ b/tests/usr.bin/xlint/lint1/msg_090.c
@@ -1,4 +1,4 @@
-/* $NetBSD: msg_090.c,v 1.6 2023/03/28 20:04:52 rillig Exp $ */
+/* $NetBSD: msg_090.c,v 1.7 2023/07/07 06:03:31 rillig Exp $ */
# 3 "msg_090.c"
// Test for message: inconsistent redeclaration of extern '%s' [90]
@@ -10,6 +10,7 @@ extern int random_number(void);
void
use(void)
{
+ /* expect+3: warning: 'random_number' unused in function 'use' [192] */
/* expect+2: warning: nested 'extern' declaration of 'random_number' [352] */
/* expect+1: warning: inconsistent redeclaration of extern 'random_number' [90] */
extern int random_number(int);