Home | History | Annotate | Line # | Download | only in lint1
      1 /*	$NetBSD: msg_199.c,v 1.5 2024/03/27 19:28:20 rillig Exp $	*/
      2 # 3 "msg_199.c"
      3 
      4 // Test for message: duplicate case '%jd' in switch [199]
      5 
      6 /* lint1-extra-flags: -X 351 */
      7 
      8 void
      9 example(int x)
     10 {
     11 	switch (x) {
     12 	case 3:
     13 		/* expect+1: error: duplicate case '3' in switch [199] */
     14 	case 3:
     15 		break;
     16 	}
     17 }
     18