| 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
| 2 | // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 |
| 3 | |
| 4 | |
| 5 | struct NotExportedStruct0 { a: int } |
| 6 | struct NotExportedStruct1 { b: int, c: NotExportedStruct0 } |
| 7 | struct NotExportedStruct2 { z: int } |
| 8 | |
| 9 | export enum ExportEnum { Hello, Bonjour } |
| 10 | |
| 11 | export struct ExportedStruct { d: int, e: NotExportedStruct0 } |
| 12 | |
| 13 | export component UseStruct inherits Rectangle { |
| 14 | in-out property<ExportedStruct> exp; |
| 15 | in-out property<NotExportedStruct1> nexp; |
| 16 | in-out property<[NotExportedStruct2]> arr; |
| 17 | } |
| 18 | |