add: tests for zero-parser.
This commit is contained in:
11
sysy_sets/09_func_defn.sy
Executable file
11
sysy_sets/09_func_defn.sy
Executable 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