diff options
Diffstat (limited to 'test.sil')
-rw-r--r-- | test.sil | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,12 +1,11 @@ -Int main () { - Int x; - Int y; +Int second(Int x, Int y) { Int z; - x := 100; - y := 50; z := x; x := y; y := z; - z := x; - return z; + return y; +} + +Int main () { + return second(100, 200); } |