28 * @test |
28 * @test |
29 * @run |
29 * @run |
30 */ |
30 */ |
31 |
31 |
32 try { |
32 try { |
33 (function f() { Object.defineProperty({},"x",{get: function(){return {valueOf:function(){throw 0}}}}).x - Object.defineProperty({},"x",{get: function(){throw 1}}).x })() |
33 (function f() { |
|
34 Object.defineProperty({},"x",{get: function(){return {valueOf:function(){throw 0}}}}).x - |
|
35 Object.defineProperty({},"x",{get: function(){throw 1}}).x })() |
34 } |
36 } |
35 catch (e) { |
37 catch (e) { |
36 print(e); |
38 print(e); |
37 } |
39 } |
38 |
40 |