msg_290.c revision 1.3
1/*	$NetBSD: msg_290.c,v 1.3 2022/06/16 21:24:41 rillig Exp $	*/
2# 3 "msg_290.c"
3
4// Test for message: static function %s declared but not defined [290]
5
6/* expect+1: warning: static function only_declared declared but not defined [290] */
7static void only_declared(void);
8static void declared_and_called(void);
9
10void
11use_function(void)
12{
13	/* expect+1: error: static function called but not defined: declared_and_called() [225] */
14	declared_and_called();
15}
16