Home
       0037-assignop.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
       ---
       0037-assignop.c (158B)
       ---
            1 int
            2 main()
            3 {
            4         int x;
            5         
            6         x = 0;
            7         x += 2;
            8         x += 2;
            9         if (x != 4)
           10                 return 1;
           11         x -= 1;
           12         if (x != 3)
           13                 return 2;
           14         x *= 2;
           15         if (x != 6)
           16                 return 3;
           17                 
           18         return 0;
           19 }