test262/test/language/literals/regexp/S7.8.5_A2.2_T2.js

15 lines
304 B
JavaScript
Raw Normal View History

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: "RegularExpressionChar :: \\ or / is incorrect"
2014-07-25 00:41:42 +02:00
es5id: 7.8.5_A2.2_T2
description: /
negative:
phase: early
type: SyntaxError
---*/
//CHECK#1
/a//.source;