blob: c04c74b9cd1b4fc66f623438be7e1b112ce75728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* $NetBSD: msg_205.c,v 1.4 2023/07/07 19:45:22 rillig Exp $ */
# 3 "msg_205.c"
// Test for message: switch expression must have integral type [205]
/* lint1-extra-flags: -X 351 */
/* ARGSUSED */
void
example(double x)
{
/* expect+1: error: switch expression must have integral type [205] */
switch (x) {
}
}
|