source:
tests/enum_tests/stringEnum.cfa
@
3c4003b9
Last change on this file since 3c4003b9 was d8e2a09, checked in by , 2 years ago | |
---|---|
|
|
File size: 152 bytes |
Line | |
---|---|
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.