aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/holistic/data/jsImports/pragmaBmTwo.js
blob: ad47e6fb4f905379f17bf3896d94484eb5051d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

// This JavaScript file is a single, large, imported script.
// It imports a shared library script.
.import "pragmaLib.js" as PragmaLibJs

function testFuncTwo(seedValue) {
    var retn = seedValue + 3;
    retn += PragmaLibJs.testFunc();
    return retn;
}