annotate tests/rec2.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 71bafe66dbe1
children
rev   line source
adamc@130 1 val rec main = fn () => <html><body>
adamc@130 2 <a link={aux ()}>See another page</a>
adamc@130 3 </body></html>
adamc@130 4
adamc@130 5 and aux = fn () => <html><body>
adamc@130 6 <a link={main ()}>Back to square one</a>
adamc@130 7 </body></html>