diff options
Diffstat (limited to 'tests/auto/qmlls/utils/data/completions/parenthesizedExpression.qml')
-rw-r--r-- | tests/auto/qmlls/utils/data/completions/parenthesizedExpression.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qmlls/utils/data/completions/parenthesizedExpression.qml b/tests/auto/qmlls/utils/data/completions/parenthesizedExpression.qml new file mode 100644 index 0000000000..567b543154 --- /dev/null +++ b/tests/auto/qmlls/utils/data/completions/parenthesizedExpression.qml @@ -0,0 +1,10 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick + +Item { + function f(x) { + (x + 1) + } +} |