News for hackers. Stuff that matters.
Re:Why Use Pascal? by Kamq on Sunday July 09, 2023 @12:23PM (#36655823)
I was trying to get clang to throw an error that included type information to double check what it thought the type was. Quickest thing I could think of was trying to assign to an array.

The exact error in question was: error: array type 'int[3]' is not assignable

Which seems to imply that clang is considering the length to be part of the type.

edit: You asked for code (my apologies that it's rather trivial).

    int x[3] = {1, 2, 3};
    int y[3];
    y = x;

There are no comments on this comment yet.