diff --git a/doc/cc65.sgml b/doc/cc65.sgml index dba0a0288..a81358510 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -792,6 +792,21 @@ This cc65 version has some extensions to the ISO C standard. size zero, even if it is initialized.

+ cc65 supports + /* C11 version with message. */ + _Static_assert (sizeof (int) == 2, "Expected 2-bytes ints."); + + /* C2X version without message. */ + _Static_assert (sizeof (int) == 2); + + + Computed gotos, a GCC extension, has limited support. With it you can use fast jump tables from C. You can take the address of a label with a double ampersand, putting them in a static const array of type void *.