// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

export Test3 := Rectangle {
    TabWidget {
//  ^error{Unknown type TabWidget. \(The type exist as an internal type, but cannot be accessed in this scope\)}
    }
}

export Foo := TabWidget { }
//            ^error{Unknown type TabWidget. \(The type exist as an internal type, but cannot be accessed in this scope\)}
