test262/test/language/literals/string/S7.8.4_A3.2_T1.js

17 lines
360 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.2_T1
description: Checking if execution of "\\\" fails
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
//CHECK#1
"\\\"