aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-01-13 10:16:05 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-16 00:03:05 +0100
commit74c390d44f133f327fc02b9561fe43a23ff4d3b3 (patch)
tree16ca7754125292008a9f68c6249ed56e307f88d3 /tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml
parentef1860e8c47a5816b151e5d63dbc0db196f9d0a8 (diff)
lower case QML components are accepted when used with 'as' import
If an Object Binding is in a namespace, ensure that the Component name begins with a capital letter. Task-number:QTBUG-20786 Change-Id: Id4a0c0fdb0c9b9516bea597a4994bb7519339bc9 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml b/tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml
new file mode 100644
index 0000000000..65e93ed55d
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativelanguage/data/invalidRoot.3.qml
@@ -0,0 +1,4 @@
+import QtQuick 2.0 as Foo
+
+Foo.foo {
+}