annotate tests/rewrite.ur @ 2070:382911d72e63

Check realloc's return code to prevent segfault on out of memory condition (Part 3)
author Sergey Mironov <grrwlf@gmail.com>
date Tue, 02 Sep 2014 17:37:22 +0000
parents 3b7e46790fa7
children
rev   line source
adamc@768 1 table t : { A : int }
adamc@768 2
adamc@768 3 fun other () = return <xml><body>
adamc@768 4 Other
adamc@768 5 </body></xml>
adamc@768 6
adamc@768 7 fun main () = return <xml><body>
adamc@768 8 <a link={other ()}>Hi!</a>
adamc@768 9 </body></xml>