diff options
Diffstat (limited to 'tests/cffi.ur')
-rw-r--r-- | tests/cffi.ur | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cffi.ur b/tests/cffi.ur index 2e20199b..cc93b8f5 100644 --- a/tests/cffi.ur +++ b/tests/cffi.ur @@ -1,3 +1,8 @@ +fun effect () = + Test.print; + return <xml/> + fun main () = return <xml><body> {[Test.out (Test.frob (Test.create "Hello ") "world!")]} + <form><submit action={effect}/></form> </body></xml> |