Home | History | Annotate | Line # | Download | only in lint1
msg_205.c revision 1.3
      1 /*	$NetBSD: msg_205.c,v 1.3 2022/06/16 21:24:41 rillig Exp $	*/
      2 # 3 "msg_205.c"
      3 
      4 // Test for message: switch expression must have integral type [205]
      5 
      6 /* ARGSUSED */
      7 void
      8 example(double x)
      9 {
     10 	/* expect+1: error: switch expression must have integral type [205] */
     11 	switch (x) {
     12 	}
     13 }
     14