summaryrefslogtreecommitdiff
path: root/tests/cselect.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cselect.ur')
-rw-r--r--tests/cselect.ur11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cselect.ur b/tests/cselect.ur
new file mode 100644
index 00000000..ca05f504
--- /dev/null
+++ b/tests/cselect.ur
@@ -0,0 +1,11 @@
+fun main () =
+ s <- source "";
+ return <xml><body>
+ <cselect source={s}>
+ <coption>Wilbur</coption>
+ <coption>Walbur</coption>
+ </cselect>
+
+ Hello, I'm <dyn signal={s <- signal s; return <xml>{[s]}</xml>}/>.
+ I'll be your waiter for this evening.
+ </body></xml>