summaryrefslogtreecommitdiff
path: root/tests/crypt.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-01-16 10:38:03 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-01-16 10:38:03 -0500
commitfbc17fa1d962150062aa0b4839d75a27605b965e (patch)
treefe0b592698e1c2198b6af517782f7c8608065759 /tests/crypt.ur
parent3af8bcda28c4c831cf420ebba926dd9ac1f44d71 (diff)
Patch from Vladimir Shabanov to support crypt under OS X
Diffstat (limited to 'tests/crypt.ur')
-rw-r--r--tests/crypt.ur7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/crypt.ur b/tests/crypt.ur
new file mode 100644
index 00000000..e1f48c65
--- /dev/null
+++ b/tests/crypt.ur
@@ -0,0 +1,7 @@
+fun cryptIt r = return <xml><body>
+ {[crypt r.Pass "AB"]}
+</body></xml>
+
+fun main () = return <xml><body>
+ <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
+</body></xml>