annotate tests/recReal.ur @ 2063:83bdb52962c9

Check realloc's return code to prevent segfault on out of memoty condition
author Sergey Mironov <grrwlf@gmail.com>
date Sat, 23 Aug 2014 11:59:34 +0000
parents 71bafe66dbe1
children
rev   line source
adamc@131 1 val rec endlessList = fn () => <body>
adamc@131 2 <li> Buy eggs.</li>
adamc@131 3 {endlessList ()}
adamc@131 4 </body>
adamc@131 5
adamc@131 6 val main = fn () => <html><body>
adamc@131 7 {endlessList ()}
adamc@131 8 </body></html>