summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_236.c
blob: 3925600655754b5c99e8fcd2ea7144acbe71feee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*	$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)
{
}

/* expect+2: warning: static function 'static_function' unused [236] */
static void
static_function(void)
{
}

static inline void
inline_function(void)
{
}