Ignore:
File:
1 edited

Legend:

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

    r0b8c951d r2e63915  
    4545
    4646forall( [N] )
    47 void zip( array(float, N) & a, array(float, N) & b ) {}
     47void zip( array(float, N) &, array(float, N) & ) {}
    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
    5460    #define TRY_COMPAT( LV, RV )            \
    5561    {                                       \
    56         void f( array(float, LV) * x ) {}   \
     62        void f( array(float, LV) * ) {}     \
    5763        array(float, RV) a;                 \
    5864        f( & a );                           \
     
    6571        array(float, RV) a;                 \
    6672        array(float, LV) * b = & a;         \
     73        (void) b;                           \
    6774    }
    6875    ARRANGEMENT( PTRVAR_INIT )
     
    8087    #define TRY_COMPAT( LV, RV )            \
    8188    {                                       \
    82         void f( array(float, LV) & x ) {}   \
     89        void f( array(float, LV) & ) {}     \
    8390        array(float, RV) a;                 \
    8491        f( a );                             \
     
    9198        array(float, RV) a;                 \
    9299        array(float, LV) & b = a;           \
     100        (void) b;                           \
    93101    }
    94102    ARRANGEMENT( REFVAR_INIT )
Note: See TracChangeset for help on using the changeset viewer.