Skip to content

Commit 8d6d9be

Browse files
committed
[dcl.fct] Clarify that type adjustment does not make zero-length arrays valid
1 parent 4e6d501 commit 8d6d9be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/declarations.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3871,6 +3871,8 @@
38713871

38723872
void h(int x(const int)); // \#3
38733873
void h(int (*)(int)) {} // defines \#3
3874+
3875+
void j(int[0]); // error: \tcode{int[0]} is not a valid type
38743876
\end{codeblock}
38753877
\end{example}
38763878

0 commit comments

Comments
 (0)