diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testBug755916.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testBug755916.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testBug755916.js b/js/src/jit-test/tests/basic/testBug755916.js new file mode 100644 index 000000000..157d3073a --- /dev/null +++ b/js/src/jit-test/tests/basic/testBug755916.js @@ -0,0 +1,12 @@ +// |jit-test| error:InternalError + +Object.defineProperty(this, "t2", { + get: function() { + for (p in h2) { + t2 + } + } +}) +h2 = {} +h2.a = function() {} +Object(t2) |