Debian Codegraph @

rhino/testsrc/tests/ecma/Statements/12.9-1-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.9-1-n.js';
7
8 /**
9 File Name: 12.9-1-n.js
10 ECMA Section: 12.9 The return statement
11 Description:
12
13 Author: [email protected]
14 Date: 12 november 1997
15 */
16 var SECTION = "12.9-1-n";
17 var VERSION = "ECMA_1";
18 startTest();
19
20 writeHeaderToLog( SECTION + " The return statement");
21
22 DESCRIPTION = "return";
23 EXPECTED = "error";
24
25 new TestCase( SECTION,
26 "return",
27 "error",
28 eval("return") );
29
30 test();