summaryrefslogtreecommitdiff
path: root/test/add.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-05 02:26:53 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-05 02:26:53 -0400
commit594d18234e9f3c0591dfe2da55e6d0b9e0d97c9c (patch)
tree51d8380208a4c2f6e85b122bdfb4239b94744f5d /test/add.myr
parent033c515dda93159968574d4d0a1f32353a2b7750 (diff)
downloadmc-594d18234e9f3c0591dfe2da55e6d0b9e0d97c9c.tar.gz
Add start of test cases.
Stub in a few compilations and such.
Diffstat (limited to 'test/add.myr')
-rw-r--r--test/add.myr8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/add.myr b/test/add.myr
new file mode 100644
index 0000000..72424e3
--- /dev/null
+++ b/test/add.myr
@@ -0,0 +1,8 @@
+const main = {
+ var a
+ var b
+
+ a = 42
+ b = 11
+ -> a + b
+}