summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-crbug-1166095.js
blob: 19ff88cc15d1e74f12b2cdbc4318f9cd9c842190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2021 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Flags: --trace-turbo-reduction

function foo() {
  const v11 = new Int8Array(150);
  Object(v11,...v11,v11);
}

for (i = 0; i < 100; i++)
  foo();