ref: 90d9a10c0234f5868c2e86882aae72fc931d53fd
dir: /lib/std/test/sjlj.myr/
use std var st const main = { var jb st = 1 if std.setjmp(&jb) std.put("nonlocal return\n") std.exit(st) ;; st = 0 std.put("doing jmp\n") dolongjmp(&jb) std.fatal("unreachable\n") } const dolongjmp = {jb std.longjmp(jb) }