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

16 lines
371 B
JavaScript

NEGATIVE
^ expected errors | v input
// Copyright (C) 2019 Leo Balter. 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: parse
---*/
throw "Test262: This statement should not be evaluated!";
!!!