modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr38661.c (about) 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 }