annotate tests/char.ur @ 1451:b6ce8ef0ea88

Before allowing an indirect return, check (dynamically, for now) that we aren't in an RPC handler
author Adam Chlipala <adam@chlipala.net>
date Sun, 17 Apr 2011 13:43:00 -0400
parents 395a5d450cc0
children
rev   line source
adamc@821 1 fun main () =
adamc@821 2 case #"A" of
adamc@821 3 #"B" => return <xml/>
adamc@821 4 | _ => return <xml>A!</xml>