// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 Foo := Rectangle {} Bar := Rectangle {} export { Foo } // ^error{Duplicated export 'Foo'} export { Foo } // ^error{Duplicated export 'Foo'} export { Bar } // ^error{Duplicated export 'Bar'} export { Foo as Bar } // ^error{Duplicated export 'Bar'}