diff options
Diffstat (limited to 'tests/auto/qml/qqmlcomponent/data/recursion.qml')
-rw-r--r-- | tests/auto/qml/qqmlcomponent/data/recursion.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlcomponent/data/recursion.qml b/tests/auto/qml/qqmlcomponent/data/recursion.qml new file mode 100644 index 0000000000..d7f9471a43 --- /dev/null +++ b/tests/auto/qml/qqmlcomponent/data/recursion.qml @@ -0,0 +1,12 @@ +import QtQuick 2.0 + +Item { + id: root + + property RecursiveComponent myInner: RecursiveComponent {} + property bool success: false + + Component.onCompleted: { + success = (myInner.innermost != null) + } +} |