summaryrefslogtreecommitdiff
path: root/tools/lint/test/fixtures/negative_valid_parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/test/fixtures/negative_valid_parse.js')
-rw-r--r--tools/lint/test/fixtures/negative_valid_parse.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/lint/test/fixtures/negative_valid_parse.js b/tools/lint/test/fixtures/negative_valid_parse.js
new file mode 100644
index 000000000..f3fd0a55f
--- /dev/null
+++ b/tools/lint/test/fixtures/negative_valid_parse.js
@@ -0,0 +1,14 @@
+^ 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: parse
+---*/
+
+throw "Test262: This statement should not be evaluated.";
+
+!!!