OSDN Git Service

2009-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr38661.c
1 /* We used to ICE because we would wrap INT_MAX
2    into INT_MIN while doing the switch converison. */
3
4 const char *func(int val) {
5  switch (val) {
6    case __INT_MAX__: return "foo";
7    default: return "";
8  }
9 }