summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T2.js
blob: 340f8bed42c593dcd811278e850f0bf5b2fecf9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * Literal :: NullLiteral
 *
 * @path ch07/7.8/7.8.1/S7.8.1_A1_T2.js
 * @description Check RegExp("0").exec("1") === null
 */

//CHECK#1
if (RegExp("0").exec("1") !== null) {
  $ERROR('#1: RegExp("0").exec("1") === null');
}