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
4export Test3 := Rectangle {
5 TabWidget {
6// ^error{Unknown element 'TabWidget'. \(The type exist as an internal type, but cannot be accessed in this scope\)}
7 }
8}
9
10export Foo := TabWidget { }
11// ^error{Unknown element 'TabWidget'. \(The type exist as an internal type, but cannot be accessed in this scope\)}
12