Skip to content

Restrict is accepted anywhere #36

@Halalaluyafail3

Description

@Halalaluyafail3

cdecl+ Input

restrict int

Expected Prose

Error: restrict can only be applied to pointer to object types, or (possibly multidimensional) arrays of such types

Actual Prose or Error

restrict int

Additional Context

Types other than pointer types whose referenced type is an object type and (possibly multidimensional) array types with such pointer types as element type shall not be restrict-qualified.

Section 6.7.4.1 Paragraph 2 ISO/IEC 9899:2024

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions