diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/jsimport/importSingletonType.js')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/jsimport/importSingletonType.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/jsimport/importSingletonType.js b/tests/auto/qml/qqmlecmascript/data/jsimport/importSingletonType.js new file mode 100644 index 0000000000..6c53a0c47d --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/jsimport/importSingletonType.js @@ -0,0 +1,5 @@ +.import Qt.test 1.0 as QObjectSingletonType + +function testFunc() { + return QObjectSingletonType.QObject.qobjectTestProperty +} |