summaryrefslogtreecommitdiff
path: root/tests/autocomp.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/autocomp.ur')
-rw-r--r--tests/autocomp.ur11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/autocomp.ur b/tests/autocomp.ur
new file mode 100644
index 00000000..d4e6a287
--- /dev/null
+++ b/tests/autocomp.ur
@@ -0,0 +1,11 @@
+fun main () : transaction page =
+ a <- source "";
+ b <- source "";
+ return <xml><body>
+ <form>
+ <textbox{#A} source={a}/>
+ <button onclick={x <- get a; set b x}/>
+ <dyn signal={v <- signal a; return <xml>{[v]}</xml>}/>
+ / <dyn signal={v <- signal b; return <xml>{[v]}</xml>}/>
+ </form>
+ </body></xml>