test262/test/language/literals/string/S7.8.4_A3.1_T2.js

13 lines
308 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: "StringLiteral :: \"\\\" or '\\' is not correct"
es5id: 7.8.4_A3.1_T2
description: Checking if execution of "'\'" fails
negative: SyntaxError
---*/
//CHECK#1
'\'