* c.texi (Static Assertions): Add a note on invalid vs wrong.
This commit is contained in:
parent
d48e338f99
commit
1ac804c718
3
c.texi
3
c.texi
|
@ -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
|
permitted, including at top level in the file, and also inside the
|
||||||
definition of a type.
|
definition of a type.
|
||||||
|
|
||||||
|
@strong{Note:} The @code{==} used instead of @code{>=} probably makes
|
||||||
|
the program wrong but not invalid.
|
||||||
|
|
||||||
@example
|
@example
|
||||||
union y
|
union y
|
||||||
@{
|
@{
|
||||||
|
|
Loading…
Reference in New Issue