test262/tools/lint/test/fixtures/negative_valid_early.js

15 lines
364 B
JavaScript

^ 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
negative:
type: SyntaxError
phase: early
---*/
throw "Test262: This statement should not be evaluated.";
!!!