summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2019-09-18 13:51:13 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2019-09-18 13:51:13 -0400
commit2a7c54badfcd4e30105a0127b25975000ff09bbb (patch)
treefb5689a478c7dfd47263881e70c603199c3a6f71 /tests
parent39cf1b0633fd95ff82815741c9c3d35a0f762cf2 (diff)
Disallow wildcards in signatures (should help with #174)
Diffstat (limited to 'tests')
-rw-r--r--tests/wildsig.ur7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/wildsig.ur b/tests/wildsig.ur
new file mode 100644
index 00000000..336772a7
--- /dev/null
+++ b/tests/wildsig.ur
@@ -0,0 +1,7 @@
+signature S = sig
+ val x : _
+end
+
+structure M : S = struct
+ val x = 7
+end