4.3BSD/usr/contrib/icon/test/std74.icn

record array(a,b,c,d,e,f,g)

procedure dummy(u,v,x,y,z)
   suspend u | v
   return x
end

procedure main()
   write("x := 1 ----> ",image(x := 1) | "none")
   write("y := 2 ----> ",image(y := 2) | "none")
   write("z := 3 ----> ",image(z := 3) | "none")
   write("x :=: y ----> ",image(x :=: y) | "none")
   write("y :=: x ----> ",image(y :=: x) | "none")
   write("x ----> ",image(x) | "none")
   write("y ----> ",image(y) | "none")
   write("z ----> ",image(z) | "none")
   write("x :=: y :=: z ----> ",image(x :=: y :=: z) | "none")
   write("x ----> ",image(x) | "none")
   write("y ----> ",image(y) | "none")
   write("z ----> ",image(z) | "none")
   write("x :=: \"a\" ----> ",image(x :=: "a") | "none")
end