summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/class/subclass-builtins/subclass-BigUint64Array.js
blob: 4167ae674de2f9c8a9ceba7c998dad28f10b12a6 (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/BigUint64Array.case
// - src/subclass-builtins/default/statement.template
/*---
description: new SubBigUint64Array() instanceof BigUint64Array (Subclass instanceof Heritage)
features: [TypedArray, BigInt]
flags: [generated]
---*/


class Subclass extends BigUint64Array {}

const sub = new Subclass();
assert(sub instanceof Subclass);
assert(sub instanceof BigUint64Array);

reportCompare(0, 0);