Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / deleteLaterObjectMethodCall.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 QtObject {
5     property var fn
6
7     property var c: Component {
8         MyQmlObject {
9             function go() {
10                 try { methodNoArgs(); } catch(e) { }
11             }
12         }
13     }
14
15     Component.onCompleted: {
16         var f = c.createObject().go;
17
18         gc();
19
20         f();
21     }
22 }