Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.examples.core/pdavm/tests/vmtest9.pda')
-rw-r--r--org.eclipse.debug.examples.core/pdavm/tests/vmtest9.pda23
1 files changed, 23 insertions, 0 deletions
diff --git a/org.eclipse.debug.examples.core/pdavm/tests/vmtest9.pda b/org.eclipse.debug.examples.core/pdavm/tests/vmtest9.pda
new file mode 100644
index 000000000..336a251d9
--- /dev/null
+++ b/org.eclipse.debug.examples.core/pdavm/tests/vmtest9.pda
@@ -0,0 +1,23 @@
+push 5
+:thread_create
+exec foo
+dec
+dup
+branch_not_zero thread_create
+push finished
+output
+halt
+:foo
+push thread_created
+output
+call inner
+halt
+:inner
+var b
+call inner2
+push 2
+return
+:inner2
+var c
+push 3
+return

Back to the top