From 23eeaac32323bf70c1f84cb9a13d9e5a57bc04ee Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 17 Jul 2017 22:44:24 +0000 Subject: Fix some incorrect ABC instructions --- test.sil | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'test.sil') 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; } -- cgit v1.2.3