blob: bffb72b57cf602cb44c54472ae69c14b5a48267d [file] [log] [blame]
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Expression cannot contain an `import` declaration
esid: sec-modules
negative:
phase: parse
type: SyntaxError
flags: [module]
---*/
$DONOTEVALUATE();
(function*() { import v from './decl-pos-import-generator-expr.js'; });