diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/badTypeAssertion.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/badTypeAssertion.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/badTypeAssertion.qml b/tests/auto/qml/qmllint/data/badTypeAssertion.qml new file mode 100644 index 0000000000..717fc1b1bb --- /dev/null +++ b/tests/auto/qml/qmllint/data/badTypeAssertion.qml @@ -0,0 +1,6 @@ +import QtQuick 2.0 + +Item { + property QtObject foo: Item { x: 4 } + property real foox: (foo as Item).rrr +} |