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


class Subclass extends Uint32Array {}

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

reportCompare(0, 0);