WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / class_extends.js
1 function test() {
2
3 class B {}
4 class C extends B {}
5 return new C() instanceof B
6   && B.isPrototypeOf(C);
7       
8 }
9
10 if (!test())
11     throw new Error("Test failed");
12