Home
       0135-unary.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
       ---
       0135-unary.c (197B)
       ---
            1 int
            2 main()
            3 {
            4         int x;
            5 
            6         x = 3;
            7         x = !x; //  0
            8         x = !x; //  1
            9         x = ~x; // -1
           10         x = -x; //  2
           11         if(x != 2)
           12                 return 1;
           13         return 0;
           14 }