source:
tests/enum_tests/typedIntEnum.cfa
@
d8c4fab
Last change on this file since d8c4fab was d8e2a09, checked in by , 2 years ago | |
---|---|
|
|
File size: 136 bytes |
Rev | Line | |
---|---|---|
[a8ef59e] | 1 | #include <stdio.h> |
2 | ||
3 | enum(int) IntEnum { | |
4 | zero, | |
5 | one | |
6 | }; | |
7 | ||
8 | int main() { | |
[d8e2a09] | 9 | printf("zero: %d, one: %d\n", zero, one); |
[a8ef59e] | 10 | return 0; |
11 | } |
Note: See TracBrowser
for help on using the repository browser.