shithub: scc

ref: 8604fd05150d98be7c9503ec9a97b63f05371ff7
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;
}