summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/functionErrors.qml
blob: a893fb0f6d101d87045d2e8f58ec307f8a23a3f8 (plain)
1
2
3
4
5
6
7
8
9
10
import Qt 4.7

QtObject {
    function myFunction() {
        a = 10;
    }

    Component.onCompleted: myFunction();
}