Skip to content

Arrays of incomplete arrays should be forbidden #34

@Halalaluyafail3

Description

@Halalaluyafail3

cdecl+ Input

int x[][]

Expected Prose

Can not create array of incomplete arrays

Actual Prose or Error

Declare x as array of arrays of int

Additional Context

This defines the constraints on forming array types:

U is called the array element type; this type shall not be a reference type, a function type, an array of unknown bound, or cv void.

(emphasis mine)

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