aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickxmllistmodel/data/roleCrash.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickxmllistmodel/data/roleCrash.qml')
-rw-r--r--tests/auto/quick/qquickxmllistmodel/data/roleCrash.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickxmllistmodel/data/roleCrash.qml b/tests/auto/quick/qquickxmllistmodel/data/roleCrash.qml
new file mode 100644
index 0000000000..6a7059bb45
--- /dev/null
+++ b/tests/auto/quick/qquickxmllistmodel/data/roleCrash.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.0
+import QtQuick.XmlListModel 2.0
+
+XmlListModel {
+ id: model
+ XmlRole {}
+ Component.onCompleted: model.roles = 0
+}