slint/internal/compiler/tests/syntax/basic/bom-simple.slint
Olivier Goffart aedd04a3d8 Parser: skip UTF-8 BOM
Skip the byte order mark.
BOM is also allowed in .rs or Cargo.toml file.

Fixes #7291
2025-01-07 12:34:08 +01:00

12 lines
No EOL
326 B
Text

// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
// This file contains an UTF-8 BOM at the beginning of the file.
component Foo { }
//^warning{Component is neither used nor exported}
export component XX {
}