6751f0439f
Change tests so that message location is stable under --debug-code. R=yangguo@chromium.org BUG=v8:3744 LOG=N Review URL: https://codereview.chromium.org/792563003 Cr-Commit-Position: refs/heads/master@{#25732}
15 lines
284 B
JavaScript
15 lines
284 B
JavaScript
// Copyright 2014 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: --harmony-classes
|
|
'use strict';
|
|
|
|
class C {
|
|
constructor() {
|
|
super(this.x);
|
|
}
|
|
}
|
|
|
|
var c = new C();
|