annotate tests/activeEmpty.ur @ 2068:b6adfe99bb08

Check realloc's return code to prevent segfault on out of memory condition (Part 2)
author Sergey Mironov <grrwlf@gmail.com>
date Sun, 24 Aug 2014 11:56:41 +0400
parents 9356e8f91ea4
children
rev   line source
adam@2002 1 fun main () : transaction page = return <xml><body>
adam@2002 2 <active code={alert "Howdy, neighbor!"; return <xml/>}/>
adam@2002 3 <hr/>
adam@2002 4 <active code={return <xml>This one <b>ain't</b> empty.</xml>}/>
adam@2002 5 </body></xml>