From 8d6d9bebd38839ea839de162537cbd7bc56be891 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 26 Jul 2025 09:06:49 +0200 Subject: [PATCH] [dcl.fct] Clarify that type adjustment does not make zero-length arrays valid --- source/declarations.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/declarations.tex b/source/declarations.tex index 341c1bc1f3..71e841b7a5 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -3871,6 +3871,8 @@ void h(int x(const int)); // \#3 void h(int (*)(int)) {} // defines \#3 + +void j(int[0]); // error: \tcode{int[0]} is not a valid type \end{codeblock} \end{example}