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}
16 lines
290 B
JavaScript
16 lines
290 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() {
|
|
var x;
|
|
super(x);
|
|
}
|
|
}
|
|
|
|
var c = new C();
|