blob: 41e0660fe3a4a77d46fde46f92d37221c4121570 [file] [log] [blame]
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.5.3
description: >
computed property generator method names can be called "constructor"
---*/
class C4 {
*['constructor']() {}
}