blob: ba661f7a95e1a3752b3a18cd55d9256fb16b5740 [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]
---*/
throw "Test262: This statement should not be evaluated.";
for (var x = 0; false;)
import v from './decl-pos-import-for-var.js';