summaryrefslogtreecommitdiff
path: root/deps/v8/test/message/fail/class-private-brand-count-setter-only.js
blob: c9d95462e42445208fd0e0b02917cf01f3bddc59 (plain)
1
2
3
4
5
6
7
8
9
10
// 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.

class A {
  set #a(val) {}
  test() { return this.#a++; }
}

A.prototype.test.call({});