summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data/component.9.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-21 05:33:07 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-21 05:33:07 (GMT)
commit5beddba73a7b2890f775d45aeb2f21407f8c3d0d (patch)
tree1c7627b716a387015494cb982e63f6f668f0ed93 /tests/auto/declarative/qdeclarativelanguage/data/component.9.qml
parentbb334b925483a9b8bda70e40cfae8a2d26e43757 (diff)
downloadQt-5beddba73a7b2890f775d45aeb2f21407f8c3d0d.zip
Qt-5beddba73a7b2890f775d45aeb2f21407f8c3d0d.tar.gz
Qt-5beddba73a7b2890f775d45aeb2f21407f8c3d0d.tar.bz2
Don't allow properties in Component elements
QTBUG-10082
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/data/component.9.qml')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/data/component.9.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/component.9.qml b/tests/auto/declarative/qdeclarativelanguage/data/component.9.qml
new file mode 100644
index 0000000..a4dbae0
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativelanguage/data/component.9.qml
@@ -0,0 +1,7 @@
+import Qt 4.6
+
+Component {
+ function a() {}
+ QtObject {}
+}
+