[ create a new paste ] login | about

Link: http://codepad.org/ILDmG4Z9    [ raw code | output | fork ]

C, pasted on Nov 16:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int main()
{   int i=0;
    switch(i) {
    case 1:

        char x1;
        break;
    case 2:

        char x2;
        break;
       
    }
}


Output:
1
2
3
In function 'main':
Line 6: error: expected expression before 'char'
Line 10: error: expected expression before 'char'


Create a new paste based on this one


Comments: