Changeset 8893ad4 for tests/array-collections/dimexpr-match-cfa.cfa
- Timestamp:
- Jan 4, 2025, 1:09:49 AM (8 months ago)
- Branches:
- master
- Children:
- 58eb9250
- Parents:
- 6b95feb (diff), 2e63915 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/array-collections/dimexpr-match-cfa.cfa
r6b95feb r8893ad4 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.