aboutsummaryrefslogtreecommitdiffstats
path: root/test/resources/program.bork
diff options
context:
space:
mode:
Diffstat (limited to 'test/resources/program.bork')
-rw-r--r--test/resources/program.bork12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/resources/program.bork b/test/resources/program.bork
new file mode 100644
index 0000000..40bb6d5
--- /dev/null
+++ b/test/resources/program.bork
@@ -0,0 +1,12 @@
+/* Test program */
+
+
+func sum x y as
+ + x y
+end
+
+decl x decl y
+set x 10
+set y 20
+
+sum(x y)