- Timestamp:
- Feb 6, 2025, 2:50:36 PM (2 months ago)
- Branches:
- master
- Children:
- cd28605
- Parents:
- 301e9f7
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/Makefile.am ¶
r301e9f7 ra8e2215 62 62 # Tests that need investigation from the CFA team about why they require lax wflags. Goal is to eliminate this list. 63 63 WFLAGS_OPT_LAX_TO_INVESTIGATE = \ 64 collections/vector-demo \65 64 concurrency/actors/dynamic \ 66 65 concurrency/actors/executor \ -
TabularUnified tests/collections/vector-demo.cfa ¶
r301e9f7 ra8e2215 138 138 assert( v`capacity == 4 && v`length == 4 ); 139 139 140 push_last(v, -100); // v is [0.0, 98.6, 0.1, 0.2, 0.3]; iter at 0.1, but RTP it's not looking at the old memory's 0.1140 push_last(v, -100); // v is [0.0, 98.6, 0.1, 0.2, -100]; iter at 0.1, but RTP it's not looking at the old memory's 0.1 141 141 142 142 // that made it bigger 143 143 assert( v`capacity > 5 && v`length == 5 ); 144 144 145 v[2] = -0.1f; // v is [0.0, 98.6, -0.1, 0.2, 0.3]; iter at -0.1, where only the new memory had that change145 v[2] = -0.1f; // v is [0.0, 98.6, -0.1, 0.2, -100]; iter at -0.1, where only the new memory had that change 146 146 147 147 float val3 = iter`val; … … 158 158 159 159 while( vector_exit(float) it = v`origin; it`moveNext ) { 160 toPrint *= it; 160 toPrint *= it; // wish for ?=?, but it's not working 161 161 printf("loop sees %f\n", toPrint); 162 162 } 163 164 // todo: loop a permit 163 165 } 164 166
Note: See TracChangeset
for help on using the changeset viewer.