diff --git a/tests/runtime/nlb/nlb_00.noja-test b/tests/runtime/nlb/nlb_00.noja-test new file mode 100644 index 0000000..44d429b --- /dev/null +++ b/tests/runtime/nlb/nlb_00.noja-test @@ -0,0 +1,13 @@ +@type [runtime] + +@bytecode + + PUSHVAR "int"; + NLB; + + PUSHVAR "print"; + CALL 1, 1; + POP 1; + EXIT; + +@output [?int] \ No newline at end of file diff --git a/tests/runtime/stp/stp_00.noja-test b/tests/runtime/stp/stp_00.noja-test new file mode 100644 index 0000000..91a55a9 --- /dev/null +++ b/tests/runtime/stp/stp_00.noja-test @@ -0,0 +1,14 @@ +@type [runtime] + +@bytecode + + PUSHVAR "int"; + PUSHVAR "float"; + STP; + + PUSHVAR "print"; + CALL 1, 1; + POP 1; + EXIT; + +@output [int | float] \ No newline at end of file