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
5export struct Color {
6 SharedVector: string,
7}
8
9export struct SharedString {
10 Model: string,
11 Component: int,
12}
13
14export struct ComponentHandle {
15 SharedString: string,
16}
17
18export struct Model {
19 _self: Color,
20}
21
22export component TestCase {
23 in-out property<Model> Model: {_self: { SharedVector: "ddd" }};
24 in-out property<SharedString> SharedString: {Model: Model._self.SharedVector };
25 in-out property<[ComponentHandle]> Rectangle: [{SharedString: SharedString.Model}];
26}
27
28