Skip to content

Reject repeat parameter in function declaration #71

Open
@ShivamSarodia

Description

The following should print an error:
void func(int a, int a);

(At least, GCC prints an error. It's probably worth double checking that the C11 spec indicates this should print an error.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Reject repeat parameter in function declaration · Issue #71 · ShivamSarodia/ShivyC