summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/assignmenttargettype/parenthesized-primaryexpression-asyncgeneratorexpression.js
blob: 47627a8805a4dd7ba7722d849f2ca7ac03ebbd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |reftest| error:SyntaxError
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/primaryexpression-asyncgeneratorexpression.case
// - src/assignment-target-type/invalid/parenthesized.template
/*---
description: PrimaryExpression AsyncGeneratorExpression; Return invalid. (ParenthesizedExpression)
esid: sec-grouping-operator-static-semantics-assignmenttargettype
flags: [generated]
negative:
  phase: parse
  type: SyntaxError
info: |
    ParenthesizedExpression: (Expression)

    Return AssignmentTargetType of Expression.
---*/

$DONOTEVALUATE();

(async function () {}) = 1;