aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ambig.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ambig.ur')
-rw-r--r--tests/ambig.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ambig.ur b/tests/ambig.ur
new file mode 100644
index 00000000..f91557c4
--- /dev/null
+++ b/tests/ambig.ur
@@ -0,0 +1,4 @@
+type r = {A : int, B : int, C : float}
+type string = int
+
+val x : r = {A = 1, B = "hi", C = 2.3}