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