aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/sub.sy
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-03-09 19:29:44 +0100
committerGitHub <noreply@github.com>2021-03-09 19:29:44 +0100
commit345cb8efef31af3e6fda65357fbab25664d385a2 (patch)
tree334d923141e1fdb307b9e882373fee58c2be46a6 /progs/tests/sub.sy
parent44170a579266501143af63960fda8706df809c09 (diff)
parent8d4493d0ac314318498155556467d46b6036d863 (diff)
downloadsylt-345cb8efef31af3e6fda65357fbab25664d385a2.tar.gz
Merge pull request #104 from FredTheDino/union-types
union types
Diffstat (limited to 'progs/tests/sub.sy')
-rw-r--r--progs/tests/sub.sy3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tests/sub.sy b/progs/tests/sub.sy
index e5d60f2..cca4f2c 100644
--- a/progs/tests/sub.sy
+++ b/progs/tests/sub.sy
@@ -1,3 +1,4 @@
start :: fn {
- (1, -2, 3, -4) - (4, 3, -2, -1) <=> (-3, 1, 1, -5)
+ print (1, -2, 3, -4) - (4, 3, -2, -1)
+ (1, -2, 3, -4) - (4, 3, -2, -1) <=> (-3, -5, 5, -3)
}