diff options
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/functionParameterTypes.qml')
-rw-r--r-- | tests/auto/qml/qqmllanguage/data/functionParameterTypes.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/functionParameterTypes.qml b/tests/auto/qml/qqmllanguage/data/functionParameterTypes.qml new file mode 100644 index 0000000000..26931a4f10 --- /dev/null +++ b/tests/auto/qml/qqmllanguage/data/functionParameterTypes.qml @@ -0,0 +1,7 @@ +import QtQuick 2.0 as QQ +import QtQml 2.0 as Core +QQ.Item { + id: root + function returnItem() : Core.QtObject { return root; } + function takeString(arg: string) { return arg; } +} |