diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-06-25 03:11:09 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-06-25 03:11:09 (GMT) |
commit | 2426502f372f1c1a33ccaba3549dc0eda2a754de (patch) | |
tree | 8a9ec929e44395703bdb15d290ce170e69f800ab /tests/auto/declarative/qdeclarativeecmascript/data | |
parent | cfa9eee32081dc49ab0697b1f483db01c8aee7cd (diff) | |
download | Qt-2426502f372f1c1a33ccaba3549dc0eda2a754de.zip Qt-2426502f372f1c1a33ccaba3549dc0eda2a754de.tar.gz Qt-2426502f372f1c1a33ccaba3549dc0eda2a754de.tar.bz2 |
Disallow global object properties as property names
QTBUG-11605
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/scope.3.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/scope.3.qml b/tests/auto/declarative/qdeclarativeecmascript/data/scope.3.qml index 4395ba3..2548005 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/data/scope.3.qml +++ b/tests/auto/declarative/qdeclarativeecmascript/data/scope.3.qml @@ -1,10 +1,10 @@ import Qt 4.7 +import Qt.test 1.0 -Item { +MyQmlObject { id: root property int foo: 12 - property int console: 11 property bool test1: foo == 12 property bool test2: console != 11 |