slint/sixtyfps_compiler/tests/syntax/parse_error/if1.60

10 lines
241 B
Text

// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
TestCase := Window {
if (
}
//^error{invalid expression}
//^^error{expected '\)'}
//^^^error{expected ':'}