summaryrefslogtreecommitdiff
path: root/tests/nestedInput.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nestedInput.ur')
-rw-r--r--tests/nestedInput.ur10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/nestedInput.ur b/tests/nestedInput.ur
new file mode 100644
index 00000000..19a73e15
--- /dev/null
+++ b/tests/nestedInput.ur
@@ -0,0 +1,10 @@
+fun main () : transaction page =
+ let
+ fun handler _ = return <xml/>
+ in
+ return <xml><body>
+ <form>
+ <submit action={handler}>Uh oh!</submit>
+ </form>
+ </body></xml>
+ end