blob: 61e2a36607e0c236ab5a7ae0b30cf3b650f51e45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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']() {}
}
reportCompare(0, 0);
|