diff options
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data')
| -rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/jsArrayMethodsUntyped.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/jsArrayMethodsUntyped.qml b/tests/auto/qml/qmlcppcodegen/data/jsArrayMethodsUntyped.qml index 7426c692fe..ec61adce19 100644 --- a/tests/auto/qml/qmlcppcodegen/data/jsArrayMethodsUntyped.qml +++ b/tests/auto/qml/qmlcppcodegen/data/jsArrayMethodsUntyped.qml @@ -14,4 +14,11 @@ QtObject { property string jsArrayJoin: jsArray().join() property int jsArrayIndexOf: jsArray().indexOf(l2) property int jsArrayLastIndexOf: jsArray().lastIndexOf(l3) + + property string pushAndJoin: { + var s = []; + s.push("A") + s.push("B") + return s.join("+"); + } } |
