diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/bindingLoopLazyLazy.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/bindingLoopLazyLazy.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/bindingLoopLazyLazy.qml b/tests/auto/qml/qqmlecmascript/data/bindingLoopLazyLazy.qml new file mode 100644 index 0000000000..c054282f93 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/bindingLoopLazyLazy.qml @@ -0,0 +1,12 @@ +import test +import QtQml + +BindingLoop { + id: loop + value: value2 + 1 + value2: value + 1 + + Component.onCompleted: { + let x = loop.value2 // if we do not read the value, we don't detect the loop... + } +} |