diff options
Diffstat (limited to 'tests/auto/qml/qmltc_qprocess/data/invalidTypeAnnotation.qml')
-rw-r--r-- | tests/auto/qml/qmltc_qprocess/data/invalidTypeAnnotation.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltc_qprocess/data/invalidTypeAnnotation.qml b/tests/auto/qml/qmltc_qprocess/data/invalidTypeAnnotation.qml new file mode 100644 index 0000000000..fb8c8eb198 --- /dev/null +++ b/tests/auto/qml/qmltc_qprocess/data/invalidTypeAnnotation.qml @@ -0,0 +1,20 @@ +import QtQuick + + +Item { + function f(): Qt.point { + + } + + function g() { + + } + + function h(a: int, b: Item) { + + } + + function alpha(a: int, b) {} + function beta(a: int, b): Item {} + function gamma(a: Qt.point, b) {} +} |