1 /* $NetBSD: msg_200.c,v 1.6 2024/03/27 19:28:20 rillig Exp $ */ 2 # 3 "msg_200.c" 3 4 // Test for message: duplicate case '%ju' in switch [200] 5 6 /* lint1-extra-flags: -X 351 */ 7 8 void example(unsigned x)9example(unsigned x) 10 { 11 switch (x) { 12 case 3: 13 /* expect+1: error: duplicate case '3' in switch [200] */ 14 case 3: 15 break; 16 } 17 } 18