source:
tests/enum_tests/stringEnum.cfa
@
1761046
Last change on this file since 1761046 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.