summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-10-21 08:51:30 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-10-21 08:51:30 -0400
commit1b394551c02396df4af0769189a178cb55bf3a9a (patch)
tree053c64d944479ceffca910e14861c4ecd6dcfed6 /tests
parent319b3657123b5d5b7336409fa4e17da8b19bca28 (diff)
Catch UnboundNamed exceptions that arise from missing signature items
Diffstat (limited to 'tests')
-rw-r--r--tests/ubn.ur8
-rw-r--r--tests/ubn.urs3
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ubn.ur b/tests/ubn.ur
new file mode 100644
index 00000000..0bb50bab
--- /dev/null
+++ b/tests/ubn.ur
@@ -0,0 +1,8 @@
+con e = []
+structure B : sig
+end = struct
+end
+open B
+
+fun main () =
+ return <xml></xml>
diff --git a/tests/ubn.urs b/tests/ubn.urs
new file mode 100644
index 00000000..5ae8bfc7
--- /dev/null
+++ b/tests/ubn.urs
@@ -0,0 +1,3 @@
+val main : unit -> transaction page
+con a = []
+con e = a