Home | History | Annotate | Line # | Download | only in lint1
      1 /*	$NetBSD: msg_094.c,v 1.7 2025/04/12 15:49:50 rillig Exp $	*/
      2 # 3 "msg_094.c"
      3 
      4 // Test for message: function '%s' has invalid storage class [94]
      5 
      6 /* lint1-extra-flags: -X 351 */
      7 
      8 /* expect+2: error: invalid storage class [8] */
      9 register int
     10 global_example(int arg)
     11 {
     12 	/* expect+1: error: function 'register_example' has invalid storage class [94] */
     13 	register int register_example(int);
     14 
     15 	return arg;
     16 }
     17