diff options
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/construct.qml')
-rw-r--r-- | tests/auto/qml/qmlcppcodegen/data/construct.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/construct.qml b/tests/auto/qml/qmlcppcodegen/data/construct.qml new file mode 100644 index 0000000000..19d3322992 --- /dev/null +++ b/tests/auto/qml/qmlcppcodegen/data/construct.qml @@ -0,0 +1,12 @@ +import QtQml + +QtObject { + property var foo: new Error("bar") + property int aaa: 12 + + function ouch() { + aaa = 13; + throw new Error("ouch") + aaa = 25; + } +} |