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

15
examples/c/foo4.c Normal file
View File

@@ -0,0 +1,15 @@
int foo(int i, int j, int k) {
return i + j + k;
}
int (* foo2())(int, int, int){
return foo;
}
int (* (* foo3())())(int, int, int){
return foo2;
}
int main() {
return foo3()()(2, 2, 2) == 6;
}