blob: e0ba5e3d8a79373c6fd5713465b22020d1e333be [file] [log] [blame]
// Copyright 2017 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: --expose-gc --verify-heap
(function () {
class F extends Function {}
let f = new F("'use strict';");
// Create enough objects to complete slack tracking.
for (let i = 0; i < 20; i++) {
new F();
}
gc();
})();