Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / regression / rem-unused.1.sml
CommitLineData
7f918cf1
CE
1datatype ttt = AAA | BBB of ttt vector
2
3val z = AAA
4val y = BBB (Vector.tabulate (1, fn _ => z))
5(* val x = BBB (Vector.tabulate (1, fn _ => z)) *)
6(* val _ = print (concat [Bool.toString (y = x), "\n"]) *)
7
8val a : ttt vector = Vector.tabulate (0, fn _ => raise Fail "a")
9val b : ttt vector = Vector.tabulate (0, fn _ => raise Fail "b")
10
11val _ = print (concat [Bool.toString (a = b), "\n"])