Home | History | Annotate | Line # | Download | only in lint1
msg_092.c revision 1.3
      1 /*	$NetBSD: msg_092.c,v 1.3 2022/04/03 09:34:45 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 at block level: random [93] */
     18 	/* expect+1: warning: inconsistent redeclaration of static: random [92] */
     19 	static double random(void);
     20 }
     21