QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / jsimport / importPragmaLibrary.js
1 .pragma library
2
3 var i = 4;
4
5 // .pragma library, so should be callable from multiple .qml with shared i.
6 function importIncrementedValue() {
7     i = i + 1;
8     return i;
9 }