Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/forall.cfa

    r68b52b0 r53692b3  
    199199}
    200200
    201 forall( T ) void check_otype() {
    202         T & tr = *0p;
    203         T * tp = 0p;
    204 
    205         &tr += 1;
    206         tp += 1;
    207         T & tx = tp[1];
    208 
    209         T t;
    210         T t2 = t;
    211 }
    212 
    213 forall( T * ) void check_dstype() {
    214         T & tr = *0p;
    215         T * tp = 0p;
    216 
    217         &tr += 1;
    218         tp += 1;
    219         T & tx = tp[1];
    220 }
    221 
    222 forall( T & ) void check_dtype() {
    223         T & tr = *0p;
    224         T * tp = 0p;
    225 }
    226 
    227201//otype T1 | { void xxx( T1 ); };
    228202
Note: See TracChangeset for help on using the changeset viewer.