diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/variantMapLookup.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/variantMapLookup.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/variantMapLookup.qml b/tests/auto/qml/qmllint/data/variantMapLookup.qml new file mode 100644 index 0000000000..7f50879932 --- /dev/null +++ b/tests/auto/qml/qmllint/data/variantMapLookup.qml @@ -0,0 +1,13 @@ +pragma Strict +import TestTypes +import QtQuick + +Item { + VariantMapLookupFoo { + id: moo + } + Component.onCompleted: { + moo.data.value = 5 + moo.data["value"] = 6 + } +} |