diff options
author | 2009-05-02 12:10:43 -0400 | |
---|---|---|
committer | 2009-05-02 12:10:43 -0400 | |
commit | 065cd9359366197fd8ea66cc584f4e857dfa6ab6 (patch) | |
tree | b2b7e5a618878c8ac7026aa98312d6f9697bc9f6 /tests/cffi.ur | |
parent | b57aab64873d55df8069cf520a6901bb2ce3d929 (diff) |
More FFI compiler options
Diffstat (limited to 'tests/cffi.ur')
-rw-r--r-- | tests/cffi.ur | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/cffi.ur b/tests/cffi.ur index cc93b8f5..039eac55 100644 --- a/tests/cffi.ur +++ b/tests/cffi.ur @@ -1,6 +1,12 @@ +fun printer () = Test.foo + fun effect () = Test.print; - return <xml/> + return <xml><body> + <button value="Remote" onclick={printer ()}/> + <button value="Local" onclick={Test.bar "Hoho"}/> + <button value="Either" onclick={Test.print}/> + </body></xml> fun main () = return <xml><body> {[Test.out (Test.frob (Test.create "Hello ") "world!")]} |