aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/construct.qml
blob: 19d332299240376e04923a26805af87d583780e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import QtQml

QtObject {
    property var foo: new Error("bar")
    property int aaa: 12

    function ouch() {
        aaa = 13;
        throw new Error("ouch")
        aaa = 25;
    }
}