Debian Codegraph @

rhino/testsrc/tests/ecma_2/FunctionObjects/apply-001-n.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 gTestfile = 'apply-001-n.js';
8
9 print("STATUS: f.apply crash test.");
10
11 print("BUGNUMBER: 21836");
12
13 function f ()
14 {
15 }
16
17 var SECTION = "apply-001-n";
18 var VERSION = "ECMA_1";
19 startTest();
20 var TITLE = "f.apply(2,2) doesn't crash";
21
22 writeHeaderToLog( SECTION + " "+ TITLE);
23
24 DESCRIPTION = "f.apply(2,2) doesn't crash";
25 EXPECTED = "error";
26
27 new TestCase( SECTION, "f.apply(2,2) doesn't crash", "error", eval("f.apply(2,2)") );
28
29 test();
30
31