blob: e26d18c6710bb5d987396673c0de30da48efeeaf (
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_A16",
path: "13_Function_Definition\S13_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();
}
});
|