RVBTCC/test/enum.c
2024-12-08 11:40:47 +08:00

8 lines
125 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
}