scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

0208-sizeof.c (108B)


      1 #define LEN(a)   sizeof((a))/sizeof((a)[0])
      2 
      3 int
      4 main(void)
      5 {
      6 	char s[] = "bla";
      7 
      8 	return !(LEN(s) == 4);
      9 }