Skip to content

Checked region added on function returning int instead of int*  #263

@john-h-kastner

Description

@john-h-kastner

The function c in this example is given an incorrect _Checked.

int a;
int *c() {
  return &a;
  return a;
}
int a;
int *c(void) _Checked {
  return &a;
  return a;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions