fuhsnn / slimcc

C11 compiler with GNU / C23 extensions for x86-64 Linux, able to build Python and PostgreSQL
MIT License
24 stars 3 forks source link

Unsigned `case` range may trigger error #28

Closed fuhsnn closed 10 months ago

fuhsnn commented 10 months ago
#include <stdint.h>
int main (void){
  uint32_t i;
  switch (i) {
    case 0 ... 0xFFFFFFFF : // got: "empty case range specified"
      break;
  }
}