summaryrefslogtreecommitdiff
path: root/test/add.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/add.myr')
-rw-r--r--test/add.myr4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/add.myr b/test/add.myr
index 5d264c1..cc85319 100644
--- a/test/add.myr
+++ b/test/add.myr
@@ -3,8 +3,10 @@ use std
const main = {
var a
var b
+ var c
a = 42
b = 11
- -> a + b
+ c = 0_0
+ -> a + b + c
}