blob: 3d2964af054c42191f901a3a4c1b148e01a8595c [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
// - 'a = 1' makes 'a' only available as an int32
// - 'b = a' makes 'b' only available as an int32
// - The use of 'b' in 'b.length' gets copy-propped with 'a', and so it needs to unspecialize 'a'
(function () {
var a = 1;
for(var i = 0; i < 1; i++) {
var b = a;
b.length = 1;
a = 1;
}
})();