blob: 71ea02e7e7196bcfb23d88370ab948482e9d5da1 [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.
//-------------------------------------------------------------------------------------------------------
function leaf() { return 1; }
function f1() {
var b = true || true;
return leaf();
}
function f2 () {
var c = true || true;
return leaf();
}
function bar(f) {
var a = f();
return leaf(a);
}
bar(f1);
bar(f2);
bar(f2);
var c = bar(f2);
WScript.Echo(c);