Skip to content

Function preconditions and postconditions do not propagate across module boundaries and crash the compiler #8

Open
@Stef-2

Description

@Stef-2

I wrote a minimal demo here.
contract_assert() works fine, which I'm assuming is because it is a assert() / [[assume()]] in disguise.
All three work fine when used in regular header files. I have not tested header units.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions