Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/string/S7.8.4_A3.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 :: \"\\\" or '\\' is not correct"
6 es5id: 7.8.4_A3.1_T2
7 description: Checking if execution of "'\'" fails
8 negative:
9 phase: parse
10 type: SyntaxError
11 ---*/
12
13 throw "Test262: This statement should not be evaluated.";
14
15 //CHECK#1
16 '\'