1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
3
4component T{function r@tr""|
5// ^error{Syntax error: expected '\('}
6// ^^error{Syntax error: expected '\{'}
7// ^^^error{Syntax error: expected '\('}
8
9 ""}}}
10// ^error{Syntax error: expected '%'}
11// ^^error{Parse error: expected a top-level item such as a component, a struct, or a global}