aboutsummaryrefslogtreecommitdiff
path: root/test.sil
diff options
context:
space:
mode:
Diffstat (limited to 'test.sil')
-rw-r--r--test.sil9
1 files changed, 8 insertions, 1 deletions
diff --git a/test.sil b/test.sil
index 8f6b371..db3abaf 100644
--- a/test.sil
+++ b/test.sil
@@ -1,5 +1,12 @@
Int main () {
Int x;
+ Int y;
+ Int z;
x := 100;
- return x;
+ y := 50;
+ z := x;
+ x := y;
+ y := z;
+ z := x;
+ return z;
}