Skip to content
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

No diagnostic for redefinition of symbols #25

Open
Eisenwave opened this issue Jul 9, 2023 · 0 comments
Open

No diagnostic for redefinition of symbols #25

Eisenwave opened this issue Jul 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Eisenwave
Copy link
Owner

cdecl+ Input

size_t size_t

Expected Prose

Error: redefinition of size_t as different kind of symbol

Actual Prose or Error

Declare size_t as size_t

Additional Context

Any use of a _t type as a typedef-name should register that symbol as a known type, and using the same symbol as an identifier in any context should then be illegal.

@Eisenwave Eisenwave added the bug Something isn't working label Jul 9, 2023
@Eisenwave Eisenwave self-assigned this Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant