Added tests for array/struct impl, but they in general require printing
to screen
This commit is contained in:
12
test/arrays.c0
Normal file
12
test/arrays.c0
Normal file
@@ -0,0 +1,12 @@
|
||||
#use <conio>
|
||||
|
||||
int main() {
|
||||
int[] A = alloc_array(int, -2);
|
||||
A[3] = 0;
|
||||
A[3] = 1;
|
||||
A[3] = 2;
|
||||
A[3] = 3;
|
||||
|
||||
printint(A[3]);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user