Home
0204-cast.c - scc - simple c99 compiler HTML git clone git://git.simple-cc.org/scc DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- 0204-cast.c (214B) --- 1 int 2 main(void) 3 { 4 static char *p = "\xe2\x80\x9c"; 5 unsigned n = 0; 6 7 for (; *p; p++) { 8 n <<= 1; 9 if ((unsigned char)*p >= ' ' && (unsigned char)*p != 0x7f) 10 n |= 1; 11 } 12 13 if (n != 7) 14 return 1; 15 16 return 0; 17 }