diff options
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/jitExceptions.qml')
-rw-r--r-- | tests/auto/qml/qqmllanguage/data/jitExceptions.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/jitExceptions.qml b/tests/auto/qml/qqmllanguage/data/jitExceptions.qml new file mode 100644 index 0000000000..c5e11af31d --- /dev/null +++ b/tests/auto/qml/qqmllanguage/data/jitExceptions.qml @@ -0,0 +1,16 @@ +import QtQml + +QtObject { + function burn() { + return control.font + } + + Component.onCompleted: { + for (var a = 0; a < 10; ++a) { + try { burn() } catch(e) {} + } + + burn(); + } + +} |