aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/script/data/namespacedEnums.qml
blob: 2b1726fccdef127b3af7f598b6c8a4abd42a8459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick 2.0 as QtQuick

QtQuick.Item {
    function runtest() {
        var a = 0;
        for (var ii = 0; ii < 100000; ++ii)
            a += QtQuick.Text.RichText;
        return a;
    }
}