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

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'}
