diff options
Diffstat (limited to 'tests/auto/qml/qmltc/QmltcTests/qtbug123476.qml')
-rw-r--r-- | tests/auto/qml/qmltc/QmltcTests/qtbug123476.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltc/QmltcTests/qtbug123476.qml b/tests/auto/qml/qmltc/QmltcTests/qtbug123476.qml new file mode 100644 index 0000000000..79aa178de4 --- /dev/null +++ b/tests/auto/qml/qmltc/QmltcTests/qtbug123476.qml @@ -0,0 +1,9 @@ +import QtQuick + +Item { + // qmltc should see that rectangle is used as the type argument + // for the list and produce an import for QQuickRectangle. + // Failure to do so will produce code that cannot compile and the + // test will fail at build time. + property list<Rectangle> listWithUniqueReferenceToType : [] +} |