feroldi / cci

DEPRECATED PROJECT, see README
MIT License
37 stars 5 forks source link

"expected direct declarator" error in top-level unnamed struct declaration #24

Closed feroldi closed 7 years ago

feroldi commented 7 years ago

Code:

typedef struct { int i; } S_t;

Error:

test.c:1:23: error: expected declarator
typedef struct { int i; } S_t;
                      ^
test.c:1:23: note: direct declarator instead of this ';'
typedef struct { int i; } S_t;
                      ^