Debian Codegraph @

rhino/testsrc/tests/ecma/LexicalConventions/7.5-3-n.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 gTestfile = '7.5-3-n.js';
7
8 /**
9 File Name: 7.5-2.js
10 ECMA Section: 7.5 Identifiers
11 Description: Identifiers are of unlimited length
12 - can contain letters, a decimal digit, _, or $
13 - the first character cannot be a decimal digit
14 - identifiers are case sensitive
15
16 Author: [email protected]
17 Date: 11 september 1997
18 */
19 var SECTION = "7.5-3-n";
20 var VERSION = "ECMA_1";
21 startTest();
22 var TITLE = "Identifiers";
23
24 writeHeaderToLog( SECTION + " "+ TITLE);
25
26 DESCRIPTION = "var 1abc";
27 EXPECTED = "error";
28
29 new TestCase( SECTION, "var 1abc", "error", eval("var 1abc") );
30
31 test();