// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 export TestCase := Window { if // Foo { } // ^error{expected ':'} // ^^error{Parse error} } //^error{Parse error: expected a top-level item such as a component, a struct, or a global}