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