test262/src/assignment-target-type/primaryexpression-asyncfunctionexpression.case
2020-09-17 16:23:26 -04:00

20 lines
401 B
Plaintext

// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-semantics-static-semantics-assignmenttargettype
desc: >
PrimaryExpression AsyncFunctionExpression; Return invalid.
template: invalid
negative:
phase: parse
type: SyntaxError
---*/
//- assignmenttarget
async function () {}
//- operator
=
//- value
1