Ignore:
Timestamp:
Sep 19, 2022, 11:48:13 AM (4 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master, pthread-emulation, qualifiedEnum
Children:
4520b77e
Parents:
b0d9ff7
Message:

Fix an enumerator value bug; add basic tests for new features; save the current progress before merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/enum_tests/structEnum.cfa

    rb0d9ff7 r12df6fe  
    2424struct Point apple = first;
    2525// Failed due to Qualified name is currently unimplemented.
    26 struct Point banana = PointEnum.first;
    2726
    2827int main() {
    2928     PointEnum vals = second;
    3029     PointEnum val2;
    31      // P1
    32      val2 = vals;
     30     // The failing line: assignment
     31     // val2 = vals;
    3332
    3433     printf("%d %c\n", apple.x, apple.y);
Note: See TracChangeset for help on using the changeset viewer.