annotate tests/cdataF.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 71bafe66dbe1
children
rev   line source
adamc@135 1 val snippet = fn s => <body>
adamc@135 2 <h1>{cdata s}</h1>
adamc@135 3 </body>
adamc@135 4
adamc@135 5 val main = fn () => <html><body>
adamc@135 6 {snippet "<Hi."}
adamc@135 7 {snippet "Bye."}
adamc@135 8 </body></html>