mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update error message for missing body after if/for/etc #2289.
This commit is contained in:
4
test/test_suite/statements/missing_body.c3
Normal file
4
test/test_suite/statements/missing_body.c3
Normal file
@@ -0,0 +1,4 @@
|
||||
fn void main()
|
||||
{
|
||||
if (true) // #error: The body of an if statement
|
||||
}
|
||||
Reference in New Issue
Block a user