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


class Subclass extends Float32Array {}

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

reportCompare(0, 0);