* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Microsoft.JScript / Test / Mozilla / ecma_2 / LexicalConventions / regexp-literals-002.js
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /**
3  *  File Name:          LexicalConventions/regexp-literals-002.js
4  *  ECMA Section:       7.8.5
5  *  Description:        Based on ECMA 2 Draft 8 October 1999
6  *
7  *  Author:             christine@netscape.com
8  *  Date:               19 February 1999
9  */
10 var SECTION = "LexicalConventions/regexp-literals-002.js";
11 var VERSION = "ECMA_2";
12 var TITLE   = "Regular Expression Literals";
13
14 startTest();
15
16 // A regular expression literal represents an object of type RegExp.
17
18 AddTestCase(
19   "// A regular expression literal represents an object of type RegExp.",
20   "true",
21   (/x*/ instanceof RegExp).toString() );
22
23 test();