qtdeclarative/tests/auto/qml/qmllint/data/CatchStatement.qml

9 lines
112 B
QML

import QtQml 2.12
QtObject {
function f() {
try {} catch(err) {}
console.log(err);
}
}