summaryrefslogtreecommitdiff
path: root/tests/polyjs.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/polyjs.ur')
-rw-r--r--tests/polyjs.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/polyjs.ur b/tests/polyjs.ur
new file mode 100644
index 00000000..fe10080b
--- /dev/null
+++ b/tests/polyjs.ur
@@ -0,0 +1,5 @@
+open PolyjsFfi
+
+fun main () : transaction page = return <xml><body>
+ <button onclick={fn _ => alert (one "hi" ^ two "bye")}/>
+</body></xml>