We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typedef struct { int x; } S; S func(); int func2() { return func().x; }
$ ./8cc -c t.c [ERROR] gen.c:401: (null): internal error: ((struct (int)))func() zsh: exit 1 ./8cc -c t.c
The text was updated successfully, but these errors were encountered:
Implement func decl which returns struct
ac1c468
This fixes issue rui314#75
No branches or pull requests
typedef struct {
int x;
} S;
S func();
int func2() {
return func().x;
}
$ ./8cc -c t.c
[ERROR] gen.c:401: (null): internal error: ((struct (int)))func()
zsh: exit 1 ./8cc -c t.c
The text was updated successfully, but these errors were encountered: