diff options
Diffstat (limited to 'tests/stypes.ur')
-rw-r--r-- | tests/stypes.ur | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/stypes.ur b/tests/stypes.ur new file mode 100644 index 00000000..6368d5c9 --- /dev/null +++ b/tests/stypes.ur @@ -0,0 +1,5 @@ +fun main () : transaction page = + sInt <- source 0; + return <xml><body> + <dyn signal={n <- signal sInt; return <xml>{[n]}</xml>}/> <a onclick={set sInt 1}>Change</a><br/> + </body></xml> |