BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / class_constructor_requires_new.js
1 function test() {
2
3 class C {}
4 try {
5   C();
6 }
7 catch(e) {
8   return true;
9 }
10       
11 }
12
13 if (!test())
14     throw new Error("Test failed");
15