1#![allow(deprecated)]slint::slint!{#[include_path=r#"/input/slint/tests/driver/driverlib/../../cases/types"#]
2// Copyright © SixtyFPS GmbH <info@slint.dev>
3// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
4
5// This test case verifies that we do emit the code for the `Nested` struct,
6// when it's only indirectly referenced through the `Item` struct.
7
8struct Nested := {
9 ok: bool
10}
11
12struct Item := {
13 nested: Nested
14}
15
16export TestCase := Rectangle {
17 property <Item> fob;
18}
19}
20