BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / class_accessor_properties.js
1 function test() {
2
3 var baz = false;
4 class C {
5   get foo() { return "foo"; }
6   set bar(x) { baz = x; }
7 }
8 new C().bar = true;
9 return new C().foo === "foo" && baz;
10       
11 }
12
13 if (!test())
14     throw new Error("Test failed");
15