test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-...

14 lines
327 B
JavaScript
Raw Normal View History

// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: prod-AsyncArrowHead
description: async arrows cannot have a line terminator between "async" and the formals
negative:
phase: early
type: SyntaxError
---*/
async
(foo) => { }