view tests/timeRoundTrip.ur @ 2297:6d56080f495c

Fix a read-after-free bug using a timestamp check
author Adam Chlipala <adam@chlipala.net>
date Thu, 19 Nov 2015 13:18:58 -0500
parents d77b0665ba7c
children
line wrap: on
line source
fun main () : transaction page =
    t <- now;
    return <xml>{[readError (show t) : time]}</xml>