summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/functionAssignment.1.qml
blob: 09540f1f6e3c1aa6319ea75a2ea1d81bd22535d3 (plain)
1
2
3
4
5
import Qt.test 1.0

MyQmlObject {
    property variant a: function myFunction() { return 2; }
}