test(test): add expected-output checks for cases
This commit is contained in:
11
test/test_case/09_func_defn.sy
Normal file
11
test/test_case/09_func_defn.sy
Normal file
@@ -0,0 +1,11 @@
|
||||
int a;
|
||||
int func(int p){
|
||||
p = p - 1;
|
||||
return p;
|
||||
}
|
||||
int main(){
|
||||
int b;
|
||||
a = 10;
|
||||
b = func(a);
|
||||
return b;
|
||||
}
|
||||
Reference in New Issue
Block a user