source:
tests/enum_tests/typedIntEnum.c@
32fc0d6
| Last change on this file since 32fc0d6 was a8ef59e, checked in by , 4 years ago | |
|---|---|
|
|
| File size: 137 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.