aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlengine/data/nativeModuleImport.mjs
blob: fd1080fccbd7b38c8023e283e5610495a0cae1cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import { name } from "info.mjs";

export function getName()
{
    return name;
}

export function func() {
    return "Hello World"
}

export {name as foo} from "info.mjs";
export * from "info.mjs";