[ create a new paste ] login | about

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

C++, pasted on Feb 1:
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>

enum {
    A,
    B,,,
    C
};

int main()
{
    std::cout << A << " " << B << " " << C << std::endl;
}


Output:
1
2
Line 5: error: expected identifier before ',' token
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: