Adjust stack size based on local variables
This commit is contained in:
2
tests/expectations/two_variables.txt
Normal file
2
tests/expectations/two_variables.txt
Normal file
@ -0,0 +1,2 @@
|
||||
58
|
||||
28
|
10
tests/vm/two_variables.elna
Normal file
10
tests/vm/two_variables.elna
Normal file
@ -0,0 +1,10 @@
|
||||
proc main() {
|
||||
var i: int;
|
||||
var j: int;
|
||||
|
||||
i := 58;
|
||||
j := 28;
|
||||
|
||||
printi(i);
|
||||
printi(j);
|
||||
}
|
Reference in New Issue
Block a user