forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobjlit_type.js
More file actions
23 lines (18 loc) · 816 Bytes
/
objlit_type.js
File metadata and controls
23 lines (18 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function test0(){
//Snippets:stfldprototype.ecs
function v710235()
{
}
v710235.prototype = 1;
var v710236 = new v710235();
// Make sure this literal's type isn't shared with the one with the constructor above
// as we would have the inline slot count locked for the literal
var litObj4 = {prop0: 1, prop1: 1, prop2: 1, prop3: 1, prop4: 1};
};
test0();
test0();
WScript.Echo("PASS");