blob: 2793a8f29627b4988386c7ca0dfba725e3ada760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright (C) 2020 The Qt Company Ltd
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
import QtQuick 2.0
Bar {
name: "InheritanceTest"
function test_func() {
compare(5 + 5, 10, "verifying 5 + 5 = 10");
compare(10 - 5, 5, "verifying 10 - 5 = 5");
}
}
|