scc

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

0025-bad-init.c (143B)


      1 /*
      2 PATTERN:
      3 0025-bad-init.c:7: warning: initializer-string for array of chars is too long
      4 .
      5 */
      6 
      7 char s2[2] = "foo";
      8 
      9 int
     10 main()
     11 {
     12 	return 0;
     13 }