diff options
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/tryStatement.3.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/data/tryStatement.3.qml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/tryStatement.3.qml b/tests/auto/declarative/qdeclarativeecmascript/data/tryStatement.3.qml deleted file mode 100644 index 04b39f73d5..0000000000 --- a/tests/auto/declarative/qdeclarativeecmascript/data/tryStatement.3.qml +++ /dev/null @@ -1,13 +0,0 @@ -import Qt.test 1.0 - -MyQmlObject { - property int defaultValue: 123 - - function go() { - undefinedObject.method() // this call will throw an exception - return 321 - } - - value: try { var p = go() } catch(e) { var p = defaultValue } finally { p == 123 } -} - |