xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_236.c (revision ccd9df534e375a4366c5b55f23782053c7a98d82)
1 /*	$NetBSD: msg_236.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
2 # 3 "msg_236.c"
3 
4 // Test for message: static function '%s' unused [236]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 void
9 external_function(void)
10 {
11 }
12 
13 /* expect+2: warning: static function 'static_function' unused [236] */
14 static void
15 static_function(void)
16 {
17 }
18 
19 static inline void
20 inline_function(void)
21 {
22 }
23