BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / Object.prototype.__proto___set_prototype.js
1 function test() {
2
3 var o = {};
4 o.__proto__ = Array.prototype;
5 return o instanceof Array;
6       
7 }
8
9 if (!test())
10     throw new Error("Test failed");
11