diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-10-21 08:51:30 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-10-21 08:51:30 -0400 |
commit | 1b394551c02396df4af0769189a178cb55bf3a9a (patch) | |
tree | 053c64d944479ceffca910e14861c4ecd6dcfed6 /tests | |
parent | 319b3657123b5d5b7336409fa4e17da8b19bca28 (diff) |
Catch UnboundNamed exceptions that arise from missing signature items
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ubn.ur | 8 | ||||
-rw-r--r-- | tests/ubn.urs | 3 |
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 |