aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/realTypePrecision.qml
blob: 524478887e50f9511aea12953df016436e29ed04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Qt.test 1.0
import QtQuick 2.0

QtObject {
    property real test: 1234567890
    property real test2
    property real test3
    property real test4: test3
    property real test5: func()
    property real test6: test2 + test3

    signal sig(real arg)

    Component.onCompleted: {
        test2 = 1234567890;
        sig(1234567890)
    }

    onSig: { test3 = arg; }

    function func() { return 1234567890; }
}