Debian Codegraph @

rhino/testsrc/tests/ecma/Statements/12.6.2-9-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 = '12.6.2-9-n.js';
7
8 /**
9 File Name: 12.6.2-9-n.js
10 ECMA Section: 12.6.2 The for Statement
11
12 1. first expression is not present.
13 2. second expression is not present
14 3. third expression is not present
15
16
17 Author: [email protected]
18 Date: 15 september 1997
19 */
20
21
22 var SECTION = "12.6.2-9-n";
23 var VERSION = "ECMA_1";
24 startTest();
25 var TITLE = "The for statement";
26
27 writeHeaderToLog( SECTION + " "+ TITLE);
28
29 DESCRIPTION = "for (i)";
30 EXPECTED = "error";
31
32 new TestCase( SECTION,
33 "for (i)",
34 "error",
35 eval("for (i) { }") );
36
37 /*
38 for (i) {
39 }
40
41 */
42 test();
43