diff options
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/convertQJSPrimitiveValueToIntegral.qml')
-rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/convertQJSPrimitiveValueToIntegral.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/convertQJSPrimitiveValueToIntegral.qml b/tests/auto/qml/qmlcppcodegen/data/convertQJSPrimitiveValueToIntegral.qml new file mode 100644 index 0000000000..6a15d6f775 --- /dev/null +++ b/tests/auto/qml/qmlcppcodegen/data/convertQJSPrimitiveValueToIntegral.qml @@ -0,0 +1,13 @@ +import QtQuick +import TestTypes + + +Item { + id: root + + property Moo485 moo + + readonly property Foo485 foo: Foo485 { + uid: root.moo.uid ?? 0xFFFF + } +} |