mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
41295ca5b9
commit
e9eabdd79d
13
js/src/jit-test/tests/basic/bug685321-2.js
Normal file
13
js/src/jit-test/tests/basic/bug685321-2.js
Normal 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();
|
Loading…
Reference in New Issue
Block a user