diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-11-28 16:28:19 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-11-28 16:28:19 +0100 |
| commit | 147967c04b0efeec4246b8ba0ff9b6961c9fe6cd (patch) | |
| tree | de689284caabb8f56aa08d9e572cb35aa8e68f14 /tests/vm/print_in_proc.elna | |
| parent | f7b36cb81d96817d1c69ffe9025b88112de7400c (diff) | |
| download | elna-147967c04b0efeec4246b8ba0ff9b6961c9fe6cd.tar.gz | |
Reverse procedure parameters on the stack
Diffstat (limited to 'tests/vm/print_in_proc.elna')
| -rw-r--r-- | tests/vm/print_in_proc.elna | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/vm/print_in_proc.elna b/tests/vm/print_in_proc.elna index 8c4588b..244c551 100644 --- a/tests/vm/print_in_proc.elna +++ b/tests/vm/print_in_proc.elna @@ -1,7 +1,8 @@ -proc print2(a: int) { +proc print2(a: int, b: int) { printi(a); + printi(b); } proc main() { - print2(14); + print2(14, 8); } |
