1 /* $NetBSD: msg_092.c,v 1.4 2022/06/21 21:18:30 rillig Exp $ */ 2 # 3 "msg_092.c" 3 4 // Test for message: inconsistent redeclaration of static '%s' [92] 5 6 static int 7 random(void) 8 { 9 return 4; 10 } 11 12 void 13 use_random(void) 14 { 15 random(); 16 17 /* expect+2: warning: dubious static function 'random' at block level [93] */ 18 /* expect+1: warning: inconsistent redeclaration of static 'random' [92] */ 19 static double random(void); 20 } 21