diff options
Diffstat (limited to 'test/scripts/e2e_subs/tealprogs/logs.teal')
-rw-r--r-- | test/scripts/e2e_subs/tealprogs/logs.teal | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/scripts/e2e_subs/tealprogs/logs.teal b/test/scripts/e2e_subs/tealprogs/logs.teal new file mode 100644 index 000000000..ab835003c --- /dev/null +++ b/test/scripts/e2e_subs/tealprogs/logs.teal @@ -0,0 +1,19 @@ +#pragma version 5 +byte "A" +loop: +int 0 +dup2 +getbyte +int 1 ++ +dup +int 97 //ascii code of last char +<= +bz end +setbyte +dup +log +b loop +end: +int 1 +return
\ No newline at end of file |