lama_byterun/regression/test040.expr

15 lines
159 B
Text
Raw Normal View History

2018-05-16 16:50:36 +03:00
fun f (x) {
case x of
`a -> write (1)
| `b -> write (2)
| `c -> write (3)
| _ -> write (4)
esac
}
x := read ();
f (`a);
f (`b);
f (`c);
f (`d)