Subversion Repositories Code-Repo

Rev

Blame | Last modification | View Log | RSS feed

typedef enum {A,B} op;

int main() {
        return 0;
}

int tmp_func(op o) {
        switch(o) {
                case A:
                        return 0;
                        break;
                case B:
                        return 1;
                        break;
                default:
                        return -1;
                        break;
        }
}