tests/auto/qml/ecmascripttests/test262/test/language/literals/string/S7.8.4_A1.2_T1.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 :: 'SingleStringCharacters_opt'" |
| 6 | es5id: 7.8.4_A1.2_T1 |
| 7 | description: > |
| 8 | SingleStringCharacter :: SourceCharacter but not single-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 | ''' |