BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / class_extends_expressions.js
1 function test() {
2
3 var B;
4 class C extends (B = class {}) {}
5 return new C() instanceof B
6   && B.isPrototypeOf(C);
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12