8 lines
216 B
Text
8 lines
216 B
Text
fun test() {
|
|
if true true { }
|
|
}
|
|
|
|
// NOTE: These errors should be better
|
|
// @expect-errors:
|
|
// | 2:10: Error at 'true': expected a block after `if`
|
|
// | 2:15: Error at '{': expect ';' to end an expression statement
|