summaryrefslogtreecommitdiff
path: root/tests/eq.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/eq.ur')
-rw-r--r--tests/eq.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/eq.ur b/tests/eq.ur
new file mode 100644
index 00000000..0c5cde60
--- /dev/null
+++ b/tests/eq.ur
@@ -0,0 +1,5 @@
+val b1 = 1 = 1
+val b2 = "Good" = "Bad"
+
+fun eq_pair (t1 :: Type) (t2 :: Type) (eq1 : eq t1) (eq2 : eq t2) (x : t1 * t2) (y : t1 * t2) =
+ x.1 = y.1