test262/test/language/line-terminators/invalid-regexp-ls.js

18 lines
374 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-line-terminators
es5id: 7.3-7
description: >
7.3 - ES5 recognizes the character <LS> (\u2028) as terminating
regular expression literals
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
//