4.3BSD/usr/contrib/icon/test/std08.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\" << \"x\" ----> ",image("x" << "x") | "none")
   write("\"x\" << \"X\" ----> ",image("x" << "X") | "none")
   write("\"X\" << \"x\" ----> ",image("X" << "x") | "none")
   write("\"xx\" <<= \"xx\" ----> ",image("xx" <<= "xx") | "none")
   write("\"xxx\" <<= \"xx\" ----> ",image("xxx" <<= "xx") | "none")
   write("\"xx\" <<= \"xxx\" ----> ",image("xx" <<= "xxx") | "none")
   write("\"x\" >>= \"x\" ----> ",image("x" >>= "x") | "none")
   write("\"x\" >>= \"xx\" ----> ",image("x" >>= "xx") | "none")
   write("\"xx\" >>= \"x\" ----> ",image("xx" >>= "x") | "none")
   write("\"x\" >> \"x\" ----> ",image("x" >> "x") | "none")
   write("\"x\" >> \"X\" ----> ",image("x" >> "X") | "none")
   write("\"X\" >> \"x\" ----> ",image("X" >> "x") | "none")
   write("\"x\" == \"x\" ----> ",image("x" == "x") | "none")
   write("\"x\" == \"X\" ----> ",image("x" == "X") | "none")
   write("\"X\" == \"x\" ----> ",image("X" == "x") | "none")
   write("\"x\" ~== \"x\" ----> ",image("x" ~== "x") | "none")
   write("\"x\" ~== \"X\" ----> ",image("x" ~== "X") | "none")
   write("\"X\" ~== \"x\" ----> ",image("X" ~== "x") | "none")
   write("[] ~== \"x\" ----> ",image([] ~== "x") | "none")
end