Ignore:
Timestamp:
Jul 29, 2020, 5:12:28 PM (18 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
b81fd95
Parents:
15806ed
Message:

Implemented the recomented fix for #204, added at test that would have failed without it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/castError.cfa

    r15806ed r1d17939  
    1414//
    1515
     16forall(otype T) struct S { T p; };
    1617int f;
     18S(int) sint;
    1719
    1820void f() {
     
    2527        short int v;
    2628        3, v;           // implicit void cast
     29
     30        (S(char)) sint;
    2731}
    2832
Note: See TracChangeset for help on using the changeset viewer.