msg_290.c revision 1.5
1/*	$NetBSD: msg_290.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
2# 3 "msg_290.c"
3
4// Test for message: static function '%s' declared but not defined [290]
5
6/* lint1-extra-flags: -X 351 */
7
8/* expect+1: warning: static function 'only_declared' declared but not defined [290] */
9static void only_declared(void);
10static void declared_and_called(void);
11
12void
13use_function(void)
14{
15	/* expect+1: error: static function 'declared_and_called' called but not defined [225] */
16	declared_and_called();
17}
18