invalid-regexp-cr.js (393B)
1 // |reftest| error:SyntaxError 2 // Copyright 2019 Mike Pennisi. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-line-terminators 7 es5id: 7.3-7 8 description: > 9 7.3 - ES5 recognizes the character <CR> (\u000D) as terminating 10 regular expression literals 11 negative: 12 phase: parse 13 type: SyntaxError 14 ---*/ 15 16 $DONOTEVALUATE(); 17 18 //