Home | History | Annotate | Line # | Download | only in lint1
msg_278.c revision 1.3
      1 /*	$NetBSD: msg_278.c,v 1.3 2021/02/27 18:01:29 rillig Exp $	*/
      2 # 3 "msg_278.c"
      3 
      4 // Test for message: combination of '%s' and '%s', arg #%d [278]
      5 
      6 /* lint1-extra-flags: -e */
      7 
      8 enum E {
      9 	E1
     10 };
     11 
     12 void sink_enum(enum E);
     13 void sink_int(int);
     14 
     15 void
     16 example(enum E e, int i)
     17 {
     18 	sink_enum(e);
     19 	sink_enum(i);		/* expect: 278 */
     20 
     21 	sink_int(e);		/* expect: 278 */
     22 	sink_int(i);
     23 }
     24