test262/tools/lint/test/fixtures/negative_resolution_throw_b...

17 lines
384 B
JavaScript

NEGATIVE
^ expected errors | v input
// Copyright (C) 2017 Mike Pennisi. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-assignment-operators-static-semantics-early-errors
description: Minimal test
flags: [module]
negative:
type: SyntaxError
phase: resolution
---*/
$DONOTEVALUATE(1);
import 'non-existent-module.js';