summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/exceptionProducesWarning.qml
blob: 2102821aac04021b6775a42f14a625ae3fc67ad2 (plain)
1
2
3
4
5
6
7
8
import QtQuick 1.0
import Qt.test 1.0

MyQmlObject {
    Component.onCompleted:
        { throw(new Error("JS exception")) }
}