1 /* $NetBSD: msg_200.c,v 1.3 2021/08/27 20:16:50 rillig Exp $ */
2 # 3 "msg_200.c"
3
4 // Test for message: duplicate case in switch: %lu [200]
5
6 void
7 example(unsigned x)
8 {
9 switch (x) {
10 case 3:
11 /* expect+1: error: duplicate case in switch: 3 [200] */
12 case 3:
13 break;
14 }
15 }
16