Sign in
chromium
/
v8
/
v8
/
e7a62c24855ac2bb34271e997ffae5ffcf57862d
/
.
/
test
/
mjsunit
/
harmony
/
regress
/
regress-arrow-duplicate-params.js
blob: a43f022c02d5ac942b5f7eae4b329f1beb78bfa9 [
file
] [
log
] [
blame
]
// Copyright 2015 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-arrow-functions
assertThrows
(
"(x, x, y) => 10;"
,
SyntaxError
);