Skip to content

Commit

Permalink
Fix everything.tl test
Browse files Browse the repository at this point in the history
  • Loading branch information
fergalwalsh committed Apr 12, 2023
1 parent a7f3888 commit cd2cebc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/everything.teal
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,9 @@ inner_stuff:
fail:
// oops()
callsub __func__oops
// exit(1)
pushint 1
return

// Function with no args or return value
// func oops():
Expand Down Expand Up @@ -462,3 +465,4 @@ store 28 // x
load 27 // y
load 28 // x
retsub

1 change: 1 addition & 0 deletions tests/everything.tl
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ end

block fail:
oops()
exit(1)
end

# Function with no args or return value
Expand Down

0 comments on commit cd2cebc

Please sign in to comment.