scc

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

0227-sizeof.c (105B)


      1 int
      2 main()
      3 {
      4 	char s[sizeof "\0a" - 1] = "\0a";
      5 
      6 	if (s[0] != 0 && s[1] != 'a')
      7 		return 1;
      8 	return 0;
      9 }