diff options
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data')
| -rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/splice.qml | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt b/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt index d45bfcc723..79e908c967 100644 --- a/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt +++ b/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt @@ -316,6 +316,7 @@ set(qml_files signalsWithLists.qml signatureIgnored.qml specificParent.qml + splice.qml storeElementSideEffects.qml stringArg.qml stringLength.qml diff --git a/tests/auto/qml/qmlcppcodegen/data/splice.qml b/tests/auto/qml/qmlcppcodegen/data/splice.qml new file mode 100644 index 0000000000..71225097d5 --- /dev/null +++ b/tests/auto/qml/qmlcppcodegen/data/splice.qml @@ -0,0 +1,7 @@ +import QtQml + +QtObject { + property list<int> intList: [0, 1, 2, 3] + property list<int> spliced + Component.onCompleted: spliced = intList.splice(2) +} |
