aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/13_Function_Definition/13.0_Chapter/S13.0_A16.js
blob: f9a05154e9f72c544b4b00a92a2711cfe341b086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
* @name: S13_A16;
* @section: 13;
* @assertion: Any separators are admitted between declaration chunks;
* @description: Inserting separators between declaration chunks;
*/


// Converted for Test262 from original Sputnik source

ES5Harness.registerTest( {
id: "S13.0_A16",

path: "13_Function_Definition\13.0_Chapter\S13.0_A16.js",

assertion: "Any separators are admitted between declaration chunks",

description: "Inserting separators between declaration chunks",

test: function testcase() {
   function
x
(
)
{
}
;

x();

function                                                    y                                   (                                          )                                              {};

y();

function

z

(

)

{
    
}

;

z();

eval("function\u0009\u2029w(\u000C)\u00A0{\u000D};");

w();

 }
});