1 /* $NetBSD: msg_290.c,v 1.4 2022/06/22 19:23:18 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] */ 7 static void only_declared(void); 8 static void declared_and_called(void); 9 10 void 11 use_function(void) 12 { 13 /* expect+1: error: static function 'declared_and_called' called but not defined [225] */ 14 declared_and_called(); 15 } 16