| 1 |
// Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
esid: prod-RegularExpressionChar |
| 6 |
info: | |
| 7 |
RegularExpressionChar :: |
| 8 |
RegularExpressionNonTerminator but not one of \ or / or [ |
| 9 |
|
| 10 |
RegularExpressionNonTerminator :: |
| 11 |
SourceCharacter but not LineTerminator |
| 12 |
|
| 13 |
description: > |
| 14 |
A regular express may not contain a "\" as a SourceCharacter |
| 15 |
|
| 16 |
negative: |
| 17 |
phase: parse |
| 18 |
type: SyntaxError |
| 19 |
---*/ |
| 20 |
|
| 21 |
throw "Test262: This statement should not be evaluated."; |
| 22 |
|
| 23 |
/a\/ |