summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-08 14:42:12 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-08 14:42:12 -0400
commitb0bf85209e8ddd4937393908d953f451556e73e9 (patch)
treefaff41c791c4bb2259e32a35994eb0690225635b
parent33cf695e0ba9586f05242b7d3595c94ed5c99b98 (diff)
Testing constructor equivalences
-rw-r--r--tests/equiv.lac3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/equiv.lac b/tests/equiv.lac
new file mode 100644
index 00000000..19ac18d4
--- /dev/null
+++ b/tests/equiv.lac
@@ -0,0 +1,3 @@
+type t1 = {A : int, B : float}
+type t2 = {B : float, A : int}
+val e1 : t1 -> t2 = fn x => x