Skip to content

Typedef rewriting error for arrays #440

New issue

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

Closed
john-h-kastner opened this issue Feb 19, 2021 · 2 comments
Closed

Typedef rewriting error for arrays #440

john-h-kastner opened this issue Feb 19, 2021 · 2 comments

Comments

@john-h-kastner
Copy link
Collaborator

typedef int foo [10];
foo bar;

Is rewritten to (-alltypes)

typedef int _Checked[10] foo;
foo bar;
@mattmccutchen-cci
Copy link
Member

That was an easy one: #441.

@mattmccutchen-cci
Copy link
Member

This was fixed by #408. We don't have a regression test specifically for arrays, but function_typedef.c exercises the same code path for function types, so I'm going to call that good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants