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