RVBTCC/test/enum.c
2024-12-08 15:41:38 +08:00

8 lines
126 B
C

enum {
A, B, C = 1, D, E = A, F,
};
int main() {
return A + B + C + D + E + F;
// 0 + 1 + 1 + 2 + 0 + 1 = 5
}