mirror of
https://github.com/tc39/test262.git
synced 2025-08-20 17:38:27 +02:00
These tests are all based on the existing dynamic import syntax tests, just updated to use the new syntax. This PR does not contain any manually written tests -- they are all generated.
17 lines
560 B
Plaintext
17 lines
560 B
Plaintext
// Copyright (C) 2025 Igalia, S.L. All rights reserved.
|
|
// 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[Yield, Await] :
|
|
import . defer ( AssignmentExpression[+In, ?Yield, ?Await] )
|
|
features: [import-defer]
|
|
---*/
|
|
//- import
|
|
import.defer()
|
|
//- teardown
|
|
/* The params region intentionally empty */
|