aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/holistic/data/jsImports/pragmaBmOne.js
blob: bbea449891e410e45cd8ef04844545303d1e1d76 (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 testFuncOne(seedValue) {
    var retn = seedValue + 2;
    retn += PragmaLibJs.testFunc();
    return retn;
}