source:
tests/enum_tests/stringEnum.cfa
@
25b0fde
Last change on this file since 25b0fde was d8e2a09, checked in by , 3 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.