Ignore:
Timestamp:
Dec 4, 2024, 10:17:49 PM (3 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
fc276f3
Parents:
509ec82
Message:

Move enum.hfa/enum.cfa to prelude

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/enum_tests/typedIntEnum.cfa

    r509ec82 reae8b37  
    1212
    1313int main() {
    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;
     14    sout | "0=" | value(zero);
     15    sout | "1=" | value(one);
     16    sout | "1000=" | value(thousand);
     17    sout | "1001=" | value(thousand_one);
     18    sout | "2000=" | value(two_thousand);
     19    sout | "2001=" | value(two_thousand_one);
     20    sout | "2002=" | value(two_thousand_two);
    2121    return 0;
    2222}
Note: See TracChangeset for help on using the changeset viewer.