aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/deletedEngine.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/deletedEngine.qml')
-rw-r--r--tests/auto/qml/qqmlecmascript/data/deletedEngine.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/deletedEngine.qml b/tests/auto/qml/qqmlecmascript/data/deletedEngine.qml
new file mode 100644
index 0000000000..97acddf5fc
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/data/deletedEngine.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+QtObject {
+ function calculate() {
+ return b * 13;
+ }
+
+ property int a: calculate()
+ property int b: 3
+}
+