1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 06:30:16 +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 Fix regression of #pragma bss-name 2017-03-21 22:35:25 +01:00
bug1001.c added regression test related to bug #1001 2020-01-25 20:56:52 +01:00
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 tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-2.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-3.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-4.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-5.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-6.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-7.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-8.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-9.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-10.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
cc65150311-11.c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
duplicate-global-static.c Add regression tests for duplicate globals with different linkage. 2017-03-09 21:18:48 +01:00
duplicate-global.c Add regression tests for duplicate global/static variables detected by the compiler. 2017-03-09 20:49:42 +01:00
duplicate-static-global.c Add regression tests for duplicate globals with different linkage. 2017-03-09 21:18:48 +01:00
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 added tests related to pr #1110 2020-07-22 15:52:04 +02:00
static-2.c Added regression tests of diagnostics for conflicts between extern/public and static declarations. 2015-08-13 03:39:35 -04:00
static-3.c Added regression tests of diagnostics for conflicts between extern/public and static declarations. 2015-08-13 03:39:35 -04:00
static-4.c Added regression tests of diagnostics for conflicts between extern/public and static declarations. 2015-08-13 03:39:35 -04:00
staticassert.c Add support for static_assert 2020-07-30 19:17:11 +02:00
void-empty.c Made C's sizeof operator work with initialized void variables. 2017-03-12 14:41:32 -04:00
void-size2.c Made C's sizeof operator work with initialized void variables. 2017-03-12 14:41:32 -04:00