Bug 685321 followup: land another test case

--HG--
rename : js/src/jit-test/tests/basic/bug685321.js => js/src/jit-test/tests/basic/bug685321-1.js
This commit is contained in:
David Mandelin 2011-12-01 14:44:30 -08:00
parent 41295ca5b9
commit e9eabdd79d
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
var o = {};
function f() {
function g() {
x = 80;
return x;
};
Object.defineProperty(o, "f", {get:g});
var [x] = 0;
x = {};
2 + o.f;
print(x);
}
f();