summary refs log tree commit diff
path: root/lisc/test/echo.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-20 18:02:29 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commitfa3f7b53fa27a37b2eb142d046bba3df70b695ba (patch)
treec6730034b898bc7ccddcce167c4edb08827b72be /lisc/test/echo.ssa
parent30f47d6ec1e45d1ee551e96e30893dadea3a9008 (diff)
downloadroux-fa3f7b53fa27a37b2eb142d046bba3df70b695ba.tar.gz
make the echo test return 0
Diffstat (limited to 'lisc/test/echo.ssa')
-rw-r--r--lisc/test/echo.ssa4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/test/echo.ssa b/lisc/test/echo.ssa
index 2766aac..238bab0 100644
--- a/lisc/test/echo.ssa
+++ b/lisc/test/echo.ssa
@@ -1,4 +1,4 @@
-function $main(w %argc, l %argv) {
+function w $main(w %argc, l %argv) {
 @start
 	%fmt =l alloc8 8
 	storel 1663398693, %fmt             # "%s%c"
@@ -24,5 +24,5 @@ function $main(w %argc, l %argv) {
 	%ac1 =w sub %ac, 1
 	jmp @loop
 @end
-	ret
+	ret 0
 }