Changeset eb7586e for tests/enum_tests/typedIntEnum.cfa
- Timestamp:
- Apr 28, 2024, 7:50:11 PM (5 weeks ago)
- Branches:
- master
- Children:
- c5c123f
- Parents:
- 7042c60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/enum_tests/typedIntEnum.cfa
r7042c60 reb7586e 1 #include < stdio.h>1 #include <fstream.hfa> 2 2 3 3 enum(int) IntEnum { … … 12 12 13 13 int main() { 14 printf("0=%d\n", zero);15 printf("1=%d\n", one);16 printf("1000=%d\n", thousand);17 printf("1001=%d\n", thousand_one);18 printf("2000=%d\n", two_thousand);19 printf("2001=%d\n", two_thousand_one);20 printf("2002=%d\n", two_thousand_two);14 sout | "0=" | zero; 15 sout | "1=" | one; 16 sout | "1000=" | thousand; 17 sout | "1001=" | thousand_one; 18 sout | "2000=" | two_thousand; 19 sout | "2001=" | two_thousand_one; 20 sout | "2002=" | two_thousand_two; 21 21 return 0; 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.