blob: 3dc38b55c202d823db5dd9034d4c082558d0b9c5 [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: Statement cannot contain an `import` declaration
esid: sec-modules
negative:
phase: parse
type: SyntaxError
flags: [module]
---*/
$DONOTEVALUATE();
function f() { import v from './decl-pos-import-function-decl.js'; }