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

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

    Component.onCompleted: myFunction();
}