Closed ckaestne closed 11 years ago
Undefined structs seem to be fine in pointers as long as they are not directly used.
for example
struct x { struct y* aa; } u; int main() {return 0;}
is well typed, but typechef complains
in contrast the following is not:
struct x { struct y aa; } u; int main() {return 0;}
was not a bug
Undefined structs seem to be fine in pointers as long as they are not directly used.
for example
is well typed, but typechef complains
in contrast the following is not: