Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/RegExp/S15.10.2.13_A1_T2.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: |
6 The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ]
7 evaluates by evaluating ClassRanges to obtain a CharSet and returning
8 that CharSet and the boolean false
9 es5id: 15.10.2.13_A1_T2
10 description: Execute /a[]/.test("\0a\0a") and check results
11 ---*/
12
13 var __executed = /a[]/.test("\0a\0a");;
14
15 //CHECK#1
16 if (__executed) {
17 $ERROR('#1: /a[]/.test("\\0a\\0a") === false');
18 }