Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/array-collections/dimexpr-match-cfa.cfa

    r2e63915 r0b8c951d  
    4545
    4646forall( [N] )
    47 void zip( array(float, N) &, array(float, N) & ) {}
     47void zip( array(float, N) & a, array(float, N) & b ) {}
    4848
    4949DECLN_runTests {
     
    5252    int mut7 = 7, mut42 = 42;
    5353
    54     // Many are only used in rejection cases, so they are unused in the non-ERRS compilation.
    55     (void) cpr7;
    56     (void) cpr42;
    57     (void) mut7;
    58     (void) mut42;
    59 
    6054    #define TRY_COMPAT( LV, RV )            \
    6155    {                                       \
    62         void f( array(float, LV) * ) {}     \
     56        void f( array(float, LV) * x ) {}   \
    6357        array(float, RV) a;                 \
    6458        f( & a );                           \
     
    7165        array(float, RV) a;                 \
    7266        array(float, LV) * b = & a;         \
    73         (void) b;                           \
    7467    }
    7568    ARRANGEMENT( PTRVAR_INIT )
     
    8780    #define TRY_COMPAT( LV, RV )            \
    8881    {                                       \
    89         void f( array(float, LV) & ) {}     \
     82        void f( array(float, LV) & x ) {}   \
    9083        array(float, RV) a;                 \
    9184        f( a );                             \
     
    9891        array(float, RV) a;                 \
    9992        array(float, LV) & b = a;           \
    100         (void) b;                           \
    10193    }
    10294    ARRANGEMENT( REFVAR_INIT )
Note: See TracChangeset for help on using the changeset viewer.