aboutsummaryrefslogtreecommitdiff
path: root/test.sil
diff options
context:
space:
mode:
authorCamil Staps2017-07-18 12:05:16 +0000
committerCamil Staps2017-07-18 12:05:16 +0000
commit7d8baccc8abde6eb547dca7fa519ddac380c90c8 (patch)
tree8a643f9e8398ff44238f2c1187d659519121b71c /test.sil
parentEasier interface (diff)
Allow for multiple initialisations on one line
Diffstat (limited to 'test.sil')
-rw-r--r--test.sil6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.sil b/test.sil
index ebbfdda..6493308 100644
--- a/test.sil
+++ b/test.sil
@@ -1,8 +1,8 @@
Int second(Int x, Int y) {
- Int z;
- z := x;
+ Int a, b;
+ a := x;
x := y;
- y := z;
+ y := a;
return y;
}