BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / function_name_property_accessor_properties.js
1 function test() {
2
3 var o = { get foo(){}, set foo(x){} };
4 var descriptor = Object.getOwnPropertyDescriptor(o, "foo");
5 return descriptor.get.name === "get foo" &&
6        descriptor.set.name === "set foo";
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12