aboutsummaryrefslogtreecommitdiffstats
path: root/test/resources/program.bork
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2016-06-21 20:23:32 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2016-07-26 19:47:04 +0300
commita48ab32ea87b156145ccc454cdf71dc01cdda0fa (patch)
tree8120fbb9c7bb528ea0ce78857ebe1153e3c6c2da /test/resources/program.bork
parent45a2b88d584fc8bdee1fbaf0def1d9b55ba26eff (diff)
Add string literals
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)