diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/badAttachedPropertyTypeQtObject.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/badAttachedPropertyTypeQtObject.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/badAttachedPropertyTypeQtObject.qml b/tests/auto/qml/qmllint/data/badAttachedPropertyTypeQtObject.qml new file mode 100644 index 0000000000..8aa241bb64 --- /dev/null +++ b/tests/auto/qml/qmllint/data/badAttachedPropertyTypeQtObject.qml @@ -0,0 +1,5 @@ +import AttachedProperties 1.0 +QtObject { + // count has type int, so assigning QtObject to it is wrong + TestType.count: QtObject {} +} |