Changeset 81e768d for tests/tuplearray.cfa
- Timestamp:
- Nov 28, 2024, 4:34:08 PM (3 weeks ago)
- Branches:
- master
- Children:
- 46c4dea
- Parents:
- f5e37a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/tuplearray.cfa
rf5e37a4 r81e768d 20 20 [void] bar12( * [3][10] [int,int] f ); 21 21 22 //[void] foo( size_t size, [size] [int,int] f ) { 23 [void] foo( size_t size, [10] [int,int] f ) { 24 for ( i; size ) f[i] = [1, 2]; 22 [void] foo1( [10] [int,int] f ) { 23 for ( i; 10 ) f[i] = [1, 2]; 24 } 25 [void] foo2( size_t size, [size] [int,int] f ) { 26 for ( i; size ) f[i] = [2, 4]; 25 27 } 26 28 … … 29 31 // [int,int] arr[10]; // unimplemented 30 32 31 foo( 10, arr ); 33 foo1( arr ); 34 for ( i; 10 ) sout | arr[i]; 35 36 foo2( 10, arr ); 32 37 for ( i; 10 ) sout | arr[i]; 33 38 }
Note: See TracChangeset
for help on using the changeset viewer.