blob: f4911add3e09edf17fcd22a820fd69a5e364ea09 [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;
}
})();