summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlparser/simpleBindings.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlparser/simpleBindings.txt')
-rw-r--r--tests/auto/declarative/qmlparser/simpleBindings.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlparser/simpleBindings.txt b/tests/auto/declarative/qmlparser/simpleBindings.txt
new file mode 100644
index 0000000..78f2503
--- /dev/null
+++ b/tests/auto/declarative/qmlparser/simpleBindings.txt
@@ -0,0 +1,17 @@
+MyTypeObject {
+ id: Me
+ property int v1: 10
+ property int v2: 11
+
+ property int value1
+ property int value2
+ property int value3
+ property int value4
+
+ value1: v1
+ value2: Me.v1
+ value3: v1 + v2
+ value4: Math.min(v1, v2)
+
+ objectProperty: Me
+}