test262/src/dynamic-import/assignment-expr-not-optional.case

15 lines
442 B
Plaintext

// Copyright (C) 2018 Rick Waldron. All rights reserved.
// Copyright (C) 2018 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if AssignmentExpression is omitted
template: syntax/invalid
info: |
ImportCall :
import( AssignmentExpression[+In, ?Yield] )
---*/
//- import
import()
//- teardown
/* The params region intentionally empty */