aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/methods.4.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/methods.4.qml')
-rw-r--r--tests/auto/qml/qqmlecmascript/data/methods.4.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/methods.4.qml b/tests/auto/qml/qqmlecmascript/data/methods.4.qml
new file mode 100644
index 0000000000..a3bd7bebf8
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/data/methods.4.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+MethodsObject {
+ function testFunction2() { return 17; }
+ function testFunction3() { return 16; }
+
+ property int test: testFunction()
+ property int test2: testFunction2()
+ property int test3: testFunction3()
+}
+