summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_236.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usr.bin/xlint/lint1/msg_236.c')
-rw-r--r--tests/usr.bin/xlint/lint1/msg_236.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_236.c b/tests/usr.bin/xlint/lint1/msg_236.c
index 7d5e6b3ed24..39256006557 100644
--- a/tests/usr.bin/xlint/lint1/msg_236.c
+++ b/tests/usr.bin/xlint/lint1/msg_236.c
@@ -1,8 +1,10 @@
-/* $NetBSD: msg_236.c,v 1.4 2022/06/11 11:52:13 rillig Exp $ */
+/* $NetBSD: msg_236.c,v 1.5 2023/07/07 19:45:22 rillig Exp $ */
# 3 "msg_236.c"
// Test for message: static function '%s' unused [236]
+/* lint1-extra-flags: -X 351 */
+
void
external_function(void)
{
@@ -13,3 +15,8 @@ static void
static_function(void)
{
}
+
+static inline void
+inline_function(void)
+{
+}