summaryrefslogtreecommitdiff
path: root/tests/r.stage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/r.stage')
-rw-r--r--tests/r.stage24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/r.stage b/tests/r.stage
new file mode 100644
index 0000000..c2d9e1f
--- /dev/null
+++ b/tests/r.stage
@@ -0,0 +1,24 @@
1
2game.start = <<a>>;
3
4situation <<a>>
5{
6 setup
7 {
8 x = 3;
9
10 my_fun( x );
11
12 display("About to end" + x);
13
14 exit();
15 }
16}
17
18function my_fun( a )
19{
20 display( a );
21 return();
22 display( "hello" );
23}
24