shithub: scc

ref: 6e9d1522e50e81ab34916a0cf02fd838db7771c8
dir: /tests/cc/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;
}