shithub: scc

ref: 488049b6b56ab50d7be0e7dda5bdbbded5e5d2df
dir: /tests/execute/0135-unary.c/

View raw version
int
main()
{
        int x;

        x = 3;
        x = !x; //  0
        x = !x; //  1
        x = ~x; // -1
        x = -x; //  2
        if(x != 2)
                return 1;
        return 0;
}