Skip to content

cparser aborts on bad definition of function using typedef #48

@GabrielRavier

Description

@GabrielRavier
typedef void f(void) {}

cparser outputs this :

cparser: src/parser/parser.c:5280: parse_external_declaration: Assertion `entity->kind == ENTITY_FUNCTION' failed.
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions