* c.texi (Static Assertions): Add a note on invalid vs wrong.

This commit is contained in:
Ineiev 2025-04-29 11:04:53 +00:00
parent d48e338f99
commit 1ac804c718
1 changed files with 3 additions and 0 deletions

3
c.texi
View File

@ -12922,6 +12922,9 @@ Static assertions are permitted wherever a statement or declaration is
permitted, including at top level in the file, and also inside the
definition of a type.
@strong{Note:} The @code{==} used instead of @code{>=} probably makes
the program wrong but not invalid.
@example
union y
@{