blob: 3f554f75b5496be6513c7e9b5faebca692be85f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// This file was procedurally generated from the following sources:
// - src/subclass-builtins/DataView.case
// - src/subclass-builtins/default/statement.template
/*---
description: new SubDataView() instanceof DataView (Subclass instanceof Heritage)
features: [TypedArray, DataView]
flags: [generated]
---*/
class Subclass extends DataView {}
const sub = new Subclass(new ArrayBuffer(1));
assert(sub instanceof Subclass);
assert(sub instanceof DataView);
reportCompare(0, 0);
|