aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/bug.1.qml
blob: 31f7c44fcc3df8d873c42284546945999f735292 (plain)
1
2
3
4
5
6
7
8
9
10
import QtQuick 2.0

QtObject {
    property int a: 10
    property bool b: false

    property int test

    test: ((a == 10)?(a + 1):0) + ((b == true)?9:3)
}