diff options
-rw-r--r-- | tests/auto/declarative/qmlecmascript/data/exceptionProducesWarning2.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/data/exceptionProducesWarning2.qml b/tests/auto/declarative/qmlecmascript/data/exceptionProducesWarning2.qml new file mode 100644 index 0000000..44e10c1 --- /dev/null +++ b/tests/auto/declarative/qmlecmascript/data/exceptionProducesWarning2.qml @@ -0,0 +1,7 @@ +import Qt 4.6 +import Qt.test 1.0 + +MyQmlObject { + value: { throw(new Error("JS exception")) } +} + |