Skip to content

Non ODR use of param in postconditions is diagnosed #23

@NinaRanns

Description

@NinaRanns

We diagnose non ODR use of param in postconditions. Such use should be ok.

int f (int i, int *j)
  post ( sizeof(i) ) // error now, should be ok
  post ( noexcept(check (&j))); // error now, should be ok

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions