tests/auto/qml/ecmascripttests/test262/test/language/literals/string/S7.8.4_A1.1_T2.js
raw| 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 | info: "StringLiteral :: \"DoubleStringCharacters_opt\"" |
| 6 | es5id: 7.8.4_A1.1_T2 |
| 7 | description: > |
| 8 | DoubleStringCharacter :: SourceCharacter but not double-quote " or |
| 9 | LineTerminator |
| 10 | negative: |
| 11 | phase: parse |
| 12 | type: SyntaxError |
| 13 | ---*/ |
| 14 | |
| 15 | throw "Test262: This statement should not be evaluated."; |
| 16 | |
| 17 | //CHECK#1 |
| 18 | " |
| 19 | " |