blob: 5d243c6be51dcc91e3b87649f4504f133f519e9f (
plain)
1
2
3
4
5
6
7
8
9
|
/* We used to ICE because we would wrap INT_MAX
into INT_MIN while doing the switch converison. */
const char *func(int val) {
switch (val) {
case __INT_MAX__: return "foo";
default: return "";
}
}
|