summaryrefslogtreecommitdiff
path: root/tests/headDyn.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-27 09:43:09 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-27 09:43:09 -0400
commitc4daee27278ae99dd4d2cd0507f7ffc555d266f4 (patch)
tree62a8fa9896b4310f97d319d0a64313afb032404e /tests/headDyn.ur
parent6320e0f89da5fd1afc85e36bde7351d514b02e99 (diff)
Ensure proper ordering of <script> execution, to bring identifiers into scope in time
Diffstat (limited to 'tests/headDyn.ur')
-rw-r--r--tests/headDyn.ur10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headDyn.ur b/tests/headDyn.ur
new file mode 100644
index 00000000..3ad0ea2a
--- /dev/null
+++ b/tests/headDyn.ur
@@ -0,0 +1,10 @@
+fun main () : transaction page =
+ x <- source <xml/>;
+ return <xml>
+ <head>
+ <title>Test</title>
+ </head>
+ <body onload={set x <xml>boo</xml>}>
+ <dyn signal={signal x}/>
+ </body>
+ </xml>