summaryrefslogtreecommitdiff
path: root/tests/fromStringErr.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 12:15:46 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 12:15:46 -0400
commit1f893091967ed6a9bd8469a62ddf4017e87d563d (patch)
tree5985b4036cf586410f210927f33ac86a4c6af0f9 /tests/fromStringErr.ur
parentf2829abe30366bc78ce8e5bd6272fac06a7f5b84 (diff)
Error-parsing ints
Diffstat (limited to 'tests/fromStringErr.ur')
-rw-r--r--tests/fromStringErr.ur3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fromStringErr.ur b/tests/fromStringErr.ur
new file mode 100644
index 00000000..07899d02
--- /dev/null
+++ b/tests/fromStringErr.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <html><body>
+ 3 = {cdata (show _ (readError _ "3" : int))}<br/>
+</body></html>