Skip to content

ctest: Figure out a way to test anonymous structs/unions #4650

@tgross35

Description

@tgross35

We should provide a cfg way to identify a union or struct field as anonymous. This can probably be a is_field_anonymous function that would make ctest "inline" the relevant tests.

This discussion was started at #4610 (comment) but I don't think we actually need that tricky regex pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ctestIssues relating to the ctest crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions