mirror of https://github.com/tc39/test262.git
16 lines
443 B
JavaScript
16 lines
443 B
JavaScript
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
|
||
|
/*---
|
||
|
info: "RegularExpressionFlags :: IdentifierPart"
|
||
|
es5id: 7.8.5_A3.1_T7
|
||
|
description: "IdentifierPart :: \\u0067 (g)"
|
||
|
---*/
|
||
|
|
||
|
//CHECK#1
|
||
|
var regexp;
|
||
|
eval("regexp = /(?:)/\u0067");
|
||
|
if (regexp.global !== true) {
|
||
|
$ERROR('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global));
|
||
|
}
|