1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
3
4
5global NotExported := {
6 property<int> prop: 42;
7}
8
9export global ExportedGlobal := {
10 property<int> foo: 44;
11}
12
13export UseGlobal := Rectangle {
14 property<int> used42: NotExported.prop;
15 property<int> used44: ExportedGlobal.foo;
16}
17