diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2022-03-10 12:19:59 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2022-03-10 12:19:59 +0100 |
commit | e798058823d6b3b813807151b91ee7d4c9417c3e (patch) | |
tree | a77487803177ea40775343e87b1ede3e521f0194 /tests/auto/qml/qmlcppcodegen/data/functionTakingVar.qml | |
parent | 56993597c05545922bbb2ef7aed49e7e34ac06b9 (diff) | |
parent | 473663128eaaf1c92ada255ac6ef1101c8bda790 (diff) |
Merge remote-tracking branch 'origin/dev' into iosstyle
Change-Id: If094d48e544c4ea14c1e4c21d99322b71b580dde
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/functionTakingVar.qml')
-rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/functionTakingVar.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/functionTakingVar.qml b/tests/auto/qml/qmlcppcodegen/data/functionTakingVar.qml new file mode 100644 index 0000000000..1765bfcab9 --- /dev/null +++ b/tests/auto/qml/qmlcppcodegen/data/functionTakingVar.qml @@ -0,0 +1,11 @@ +pragma Strict +import QtQml + +QtObject { + property var c; + + function a(b: var) { + c = b; + } + +} |