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 }
sccsimple C compiler | |
git clone git://git.2f30.org/scc | |
Log | Files | Refs | README | LICENSE |