summary refs log tree commit diff
path: root/lisc/test/eucl.ssa
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/test/eucl.ssa')
-rw-r--r--lisc/test/eucl.ssa8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisc/test/eucl.ssa b/lisc/test/eucl.ssa
index 25a2a0d..6a85bc3 100644
--- a/lisc/test/eucl.ssa
+++ b/lisc/test/eucl.ssa
@@ -3,14 +3,16 @@
 # ssa program because of the
 # swap of b and a
 
-@start
+function $test {
+ @start
 
-@loop
+ @loop
 	%a =w phi @start 380, @loop %r
 	%b =w phi @start 747, @loop %a
 	%r =w rem %b, %a
 	jnz %r, @loop, @end
 
-@end
+ @end
 	storew %a, $a
 	ret
+}