- File:
-
- 1 edited
-
tests/array-collections/dimexpr-match-cfa.cfa (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/array-collections/dimexpr-match-cfa.cfa
r0b8c951d r2e63915 45 45 46 46 forall( [N] ) 47 void zip( array(float, N) & a, array(float, N) & b) {}47 void zip( array(float, N) &, array(float, N) & ) {} 48 48 49 49 DECLN_runTests { … … 52 52 int mut7 = 7, mut42 = 42; 53 53 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 54 60 #define TRY_COMPAT( LV, RV ) \ 55 61 { \ 56 void f( array(float, LV) * x ) {}\62 void f( array(float, LV) * ) {} \ 57 63 array(float, RV) a; \ 58 64 f( & a ); \ … … 65 71 array(float, RV) a; \ 66 72 array(float, LV) * b = & a; \ 73 (void) b; \ 67 74 } 68 75 ARRANGEMENT( PTRVAR_INIT ) … … 80 87 #define TRY_COMPAT( LV, RV ) \ 81 88 { \ 82 void f( array(float, LV) & x ) {}\89 void f( array(float, LV) & ) {} \ 83 90 array(float, RV) a; \ 84 91 f( a ); \ … … 91 98 array(float, RV) a; \ 92 99 array(float, LV) & b = a; \ 100 (void) b; \ 93 101 } 94 102 ARRANGEMENT( REFVAR_INIT )
Note:
See TracChangeset
for help on using the changeset viewer.