Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Jun 20, 2024
1 parent 6f8e63b commit 34d838b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/Casm/Reg/positive/out/test044.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4
11 changes: 11 additions & 0 deletions tests/Casm/Reg/positive/test044.jvr
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

function f(integer) : integer {
tmp[0] = add arg[0] 1;
ret tmp[0];
}

function main() {
tmp[0] = 2;
tmp[1] = add tmp[0] 1;
tcall f (tmp[1]);
}

0 comments on commit 34d838b

Please sign in to comment.