summaryrefslogtreecommitdiff
path: root/tests/onerrorJs.ur
blob: b53f883e66031c164d7d5a45fab3dee921615db1 (plain)
1
2
3
4
fun main n =
  case n of
      0 => error <xml>Zero is bad! <button value="Capische?" onclick={alert "GOOD!"}/></xml>
    | _ => return <xml/>