struct S { int i; }
// ^ missing ';'
int main() {}
Currently it compiles to:
compilation unit:
function definition:
declaration specifiers:
struct or union specifier(struct):
identifier(S)
struct declaration:
type specifier(int)
identifier(i)
type specifier(int)
direct declarator:
identifier(main)
empty
compound statement({):
empty
This should be an error:
Currently it compiles to: