1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-29 17:56:21 +00:00
cc65/test/err
Jesse Rosenstock 3df6c383c0 Add support for static_assert
Add C11's _Static_assert and static_assert macro.

This is like #error, but is handled at a later stage
of translation, so it is possible to check sizes of
types, values of enums, etc.

https://en.cppreference.com/w/c/language/_Static_assert
https://port70.net/~nsz/c/c11/n1570.html#6.7.10
2020-07-30 19:17:11 +02:00
..
bitfield-named-zero-width.c Add err tests for bitfield width errors 2020-07-30 08:10:38 +02:00
bitfield-negative-width.c Add err tests for bitfield width errors 2020-07-30 08:10:38 +02:00
bitfield-too-wide.c Add err tests for bitfield width errors 2020-07-30 08:10:38 +02:00
bss-name-conflict.c
bug1001.c
bug1047.c Add err test for char bit-fields #1047 2020-07-28 22:03:01 +02:00
bug1048.c Moved misc/bug1048 as it is already correctly rejected by the compiler. 2020-07-28 23:26:25 +02:00
cc65091001.c Avoid wrong error. 2015-06-26 23:36:14 +02:00
cc65150311-1.c
cc65150311-2.c
cc65150311-3.c
cc65150311-4.c
cc65150311-5.c
cc65150311-6.c
cc65150311-7.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-8.c
cc65150311-9.c
cc65150311-10.c
cc65150311-11.c
duplicate-global-static.c
duplicate-global.c
duplicate-static-global.c
duplicate-static.c Add regression tests for duplicate global/static variables detected by the compiler. 2017-03-09 20:49:42 +01:00
front.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
Makefile Make $WORKDIR for tests/err 2020-07-28 21:59:12 +02:00
pr1110.c
static-2.c
static-3.c
static-4.c
staticassert.c Add support for static_assert 2020-07-30 19:17:11 +02:00
void-empty.c
void-size2.c