Reorganize tests

This commit is contained in:
Jeehoon Kang
2020-04-23 23:07:23 +09:00
parent 073a65ae53
commit 7c53818f73
50 changed files with 3 additions and 4 deletions

13
examples/c/array3.c Normal file
View File

@@ -0,0 +1,13 @@
int* foo(int a[10]){
return a;
}
int main() {
int a[10];
for (int i = 0; i < 10; i++) {
(foo(a))[i] = i;
}
return a[5] == 5;
}