shithub: scc

ref: 0cc8cbda0c7ac4ea844f0c2559e4c4fb90b7efaa
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;
}