Subversion Repositories Code-Repo

Rev

Blame | Last modification | View Log | RSS feed

typedef enum {A,B,C,D,E,F,G} op;

extern tmp(char a);

int main() {
        return 0;
}

char tmp_func(op o) {
        switch(o) {
                case A: tmp('A'); break;
                case B: tmp('B'); break;
                case C: tmp('C'); break;
                case D: tmp('D'); break;
                case E: tmp('E'); break;
                case F: tmp('F'); break;
                case G: tmp('G'); break;
                default:
                        return '?';
                        break;
        }
}