1// SYNTAX TEST "source.slint" "invalid words in a component"
2
3component MainWindow inherits Window {
4// <--------- keyword.other.component.slint
5// ^^^^^^^^^^ entity.name.type.component.slint
6// ^^^^^^^^ keyword.other.inherits.slint
7// ^^^^^^ entity.other.inherited-class.component.slint
8// ^ punctuation.brackets.curly.slint
9 foo bar foo
10// ^^^ - variable
11// ^^^ - variable
12// ^^^ - variable
13}
14// <- punctuation.brackets.curly.slint
15