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
4export Test := Window {
5 Text {
6 text: "hel\lo";
7 // ^error{Cannot parse string literal}
8 }
9 property <string> p1: "hello\"world";
10 property <string> p2: "hello\\";
11 property <string> p3: "hello\world";
12// ^error{Cannot parse string literal}
13}
14