blob: 558f8dcc2f9abdd822af7c0795830636be5830ae (
plain)
1
2
3
4
5
6
7
8
|
class badBase {}
assertThrowsInstanceOf(badBase, TypeError);
class badSub extends (class {}) {}
assertThrowsInstanceOf(badSub, TypeError);
if (typeof reportCompare === 'function')
reportCompare(0,0,"OK");
|