summaryrefslogtreecommitdiff
path: root/tests/headDyn.ur
diff options
context:
space:
mode:
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
index 3ad0ea2a..02fb0e03 100644
--- a/tests/headDyn.ur
+++ b/tests/headDyn.ur
@@ -8,3 +8,13 @@ fun main () : transaction page =
<dyn signal={signal x}/>
</body>
</xml>
+
+fun main2 () : transaction page =
+ return <xml>
+ <head>
+ <title>Test</title>
+ </head>
+ <body>
+ <button onclick={alert "Hi"}/>
+ </body>
+ </xml>