aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/largeBindings.qml
blob: 0fb0fff158e23b5e40d6e00cfae424d1c9f0af24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQml
import QtQuick 2

QtObject
{
    // THIS NEEDS TO BE LAST
    largeBinding: {
        var x = 300;
        console.log(x);
    }  

    small1: 3
    small2: foo
    smallButNeedsBraces: if (foo) { bar(); }
}