diff options
Diffstat (limited to 'tests/auto/qml/qmlformat/data/ellipsisFunctionArgument.qml')
-rw-r--r-- | tests/auto/qml/qmlformat/data/ellipsisFunctionArgument.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/ellipsisFunctionArgument.qml b/tests/auto/qml/qmlformat/data/ellipsisFunctionArgument.qml new file mode 100644 index 0000000000..28364f29c9 --- /dev/null +++ b/tests/auto/qml/qmlformat/data/ellipsisFunctionArgument.qml @@ -0,0 +1,11 @@ +import QtQml + +QtObject { + + function patron(a, ...b) { + } + + function patron1(a, ...[b, ...args]) {} + + function patron2(...{}) {} +}
\ No newline at end of file |