PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/bug563000/trap-force-return-1.js

http://github.com/zpao/v8monkey
JavaScript | 8 lines | 6 code | 0 blank | 2 comment | 0 complexity | 8bffdd28760eed00aaec78c639391671 MD5 | raw file
1// |jit-test| debug
2setDebug(true);
3function main() {
4  return "failure";
5}
6/* JSOP_RETURN in main. */
7trap(main, 3, "'success'");
8assertEq(main(), "success");