diff options
Diffstat (limited to 'js/src/jit-test/tests/jaeger/bug604381.js')
-rw-r--r-- | js/src/jit-test/tests/jaeger/bug604381.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug604381.js b/js/src/jit-test/tests/jaeger/bug604381.js new file mode 100644 index 0000000..365c9e3 --- /dev/null +++ b/js/src/jit-test/tests/jaeger/bug604381.js @@ -0,0 +1,14 @@ +// vim: set ts=4 sw=4 tw=99 et: + +function F() { + var T = { }; + try { + throw 12; + } catch (e) { + T.x = 5; + return T; + } +} + +assertEq((new F()).x, 5); + |