Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/S7.8.5_A3.1_T7.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: "RegularExpressionFlags :: IdentifierPart"
6 es5id: 7.8.5_A3.1_T7
7 description: "IdentifierPart :: \\u0067 (g)"
8 ---*/
9
10 //CHECK#1
11 var regexp;
12 eval("regexp = /(?:)/\u0067");
13 if (regexp.global !== true) {
14 $ERROR('#1: var regexp = /(?:)/\\u0067; regexp.global === true. Actual: ' + (regexp.global));
15 }