1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/test/val
2022-09-17 14:42:18 +02:00
..
add1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
add2.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
add3.c added makefile and common include 2014-11-22 16:59:31 +01:00
add3a.c Removed executable bit. 2020-07-12 23:11:43 +02:00
add4.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
add5.c Added a cc65 regression test for pointer and offset addition operations. 2016-01-01 11:39:55 -05:00
and1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
and2.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
anon-struct1.c Made a C union declaration know the sizes of anonymous struct/union members when it determines its size. 2018-05-13 18:54:45 -04:00
anon-struct2.c Made a C union declaration know the sizes of anonymous struct/union members when it determines its size. 2018-05-13 18:54:45 -04:00
assign-use1.c Fixed a bug that didn't preserve the accumulator's value when a simple 16-bit fetch-and-store is optimized. (#637) 2018-05-12 13:46:16 -04:00
atoi-test.c move a bunch of tests from testcode/lib to test/val (and a failing one to test/todo) 2020-07-13 21:25:13 +02:00
binlit.c remove TABs which again slipped in.... 2020-12-25 07:16:26 +01:00
bitfield-enum.c Testcases for long bit-fields. 2022-03-03 16:14:26 +08:00
bitfield-packing-char.c Testcases for long bit-fields. 2022-03-03 16:14:26 +08:00
bitfield-packing-long.c Testcases for long bit-fields. 2022-03-03 16:14:26 +08:00
bitfield-packing.c Testcases for long bit-fields. 2022-03-03 16:14:26 +08:00
bitfield-plain.c Testcases for long bit-fields. 2022-03-03 16:14:26 +08:00
bitfield-signed.c Testcases for long bit-fields. 2022-03-03 16:14:26 +08:00
bitfield-union.c Add test of union of bit-field from mailing list 2020-08-17 09:54:31 +02:00
bool1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
bool3.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
bss-name-decl.c Fix regression of #pragma bss-name 2017-03-21 22:35:25 +01:00
bss-name.c Fix regression of #pragma bss-name 2017-03-21 22:35:25 +01:00
bug170.c Use C89 semantics for integer conversions 2020-08-15 19:14:31 +02:00
bug250.c Moved bug250.c to test/val as it is fixed. 2020-08-26 09:40:32 +08:00
bug263.c testcase for issue #263 2021-05-23 18:55:06 +02:00
bug327.c Fixed Issue #327. 2020-08-22 13:44:18 +02:00
bug367.c Fix for multiplication optimization issue #367 2019-04-02 16:34:22 +02:00
bug735.c Testcase added. 2018-10-16 09:45:30 +02:00
bug760.c Preprocessor directives can now appear in the argument list of function-like macro calls. 2022-07-26 21:10:38 +08:00
bug830.c Fix for #830 supplied by UvB 2019-04-25 15:19:53 +02:00
bug895.c bug895 test: more specific description comment 2019-05-27 10:03:25 +02:00
bug897.c test for issue #897 2021-05-24 14:30:10 +02:00
bug975.c move (now working) tests to test/val 2020-07-21 19:24:39 +02:00
bug1047.c Allow char bit-fields 2020-09-08 14:24:04 +02:00
bug1050.c Add enum size test case for #1050 2020-08-02 01:18:28 +02:00
bug1071.c remove TABs which again slipped in.... 2020-12-25 07:16:26 +01:00
bug1075.c remove dangling spaces 2022-04-17 16:07:52 +02:00
bug1077.c move test for issue #1077 to test/val 2020-07-22 15:12:02 +02:00
bug1094.c Fix ICE for bit-fields with typedef 2020-10-03 15:04:31 +02:00
bug1095.c change "the cc65 authors" to "The cc65 Authors" as per jmrs request 2020-08-18 22:41:42 +02:00
bug1108.c Made a regression test increment a variable after, instead of before, using it. 2020-07-20 17:16:11 -04:00
bug1139.c Handle bit-field test after shift/mask 2020-07-31 19:33:28 +02:00
bug1143warn.c added test related to issue #1143 2020-08-18 00:40:29 +02:00
bug1178.c remove dangling spaces 2022-04-17 16:07:52 +02:00
bug1181.c remove dangling spaces 2022-04-17 16:07:52 +02:00
bug1201.c added test related to issue #1201 2020-08-26 23:20:28 +02:00
bug1209-ind-goto-rev.c Moved one test case for #1209. 2021-04-06 22:20:39 +02:00
bug1211-ice-move-refs-1.c CS_MergeLabels: Keep labels referenced by data 2020-10-08 12:11:03 +02:00
bug1221.c test related to issue #1221 2020-09-24 00:08:36 +02:00
bug1222.c test related to issue #1222 2020-09-24 12:23:18 +02:00
bug1244.c test related to issue #1244 2020-09-23 23:57:36 +02:00
bug1245.c test related to issue #1245 2020-09-23 23:57:25 +02:00
bug1252.c test some more possible cases and move test into test/val 2022-08-28 03:43:54 +02:00
bug1263.c Fixed test case for Issue #1263. 2021-04-03 17:50:46 +02:00
bug1267.c Fix ICE for bit-fields with typedef 2020-10-03 15:04:31 +02:00
bug1310.c Fixed a bug that pointer subtraction results from two absolute addresses are calculated as unsigned long. 2021-02-22 14:14:59 -05:00
bug1320.c Fixed code that caused a seg-fault after parsing a (deferred) post-count argument followed by a (nested) function-call argument. 2020-11-20 17:45:14 -05:00
bug1332.c Move #1332 test from todo/ to val/ 2020-11-16 03:23:52 -05:00
bug1348.c Fixed the cc65 code that optimizes 16-bit compares when the high bytes are known to be equal. 2020-12-24 12:27:09 -05:00
bug1357.c Preprocessor directives can now appear in the argument list of function-like macro calls. 2022-07-26 21:10:38 +08:00
bug1373.c Added test case for #pragma charmap. 2022-07-26 15:19:48 +08:00
bug1374.c Moved test for #1374. 2021-01-19 14:33:27 +01:00
bug1397.c (again) remove TABs 2021-05-13 18:12:12 +02:00
bug1408.c Added testcase for Issue #1408. 2021-02-23 22:06:21 +01:00
bug1431.c test for issue #1431 / pr #1424 2021-03-19 20:53:52 +01:00
bug1437.c Removed the non-existing-in-C "struct/union scope" for structs/unions. 2021-03-29 19:28:22 +02:00
bug1438.c remove dangling spaces 2022-04-17 16:07:52 +02:00
bug1451.c (again) remove TABs 2021-05-13 18:12:12 +02:00
bug1462-2.c Moved and improved test cases for Issue #1462. 2021-06-09 08:03:12 +02:00
bug1462-3.c Moved and improved test cases for Issue #1462. 2021-06-09 08:03:12 +02:00
bug1462-4.c Moved and improved test cases for Issue #1462. 2021-06-09 08:03:12 +02:00
bug1462.c Moved and improved test cases for Issue #1462. 2021-06-09 08:03:12 +02:00
bug1504.c add test for issue #1504 2021-05-17 14:40:09 +02:00
bug1552.c remove dangling spaces 2022-04-17 16:07:52 +02:00
bug1562.c add test related tu issue #1562 2021-09-28 18:11:23 +02:00
bug1573.c Simple testcase for __LINE__, __FILE__ as well as #line. 2022-08-24 16:39:44 +08:00
bug1573.h Simple testcase for __LINE__, __FILE__ as well as #line. 2022-08-24 16:39:44 +08:00
bug1643.c Preprocessor directives can now appear in the argument list of function-like macro calls. 2022-07-26 21:10:38 +08:00
bug1643.h Preprocessor directives can now appear in the argument list of function-like macro calls. 2022-07-26 21:10:38 +08:00
bug1652-optimizer.c test related to issue #1652, shows regression broken by #1231 and the 2022-05-08 13:19:32 +02:00
bug1675-ub.c Testcase for #1675. 2022-02-18 15:20:01 +08:00
bug1675.c Testcase for #1675. 2022-02-18 15:20:01 +08:00
bug1690.c Added a more general test to test/val/bug1690.c 2022-03-01 12:56:34 -05:00
bug1696.c remove a bunch of TABs 2022-04-16 18:16:14 +02:00
bug1822-pptest.c Fixed the bug that redefined macros could co-exist but not all be undefined with a single #undef. 2022-08-06 18:21:42 +08:00
bug1838.c Fixed function parameters declared as function types rather than function pointers. 2022-08-24 15:30:52 +08:00
bug1847-struct-field-access.c Reverted E_ADDRESS_OF logic fix. 2022-09-01 12:56:46 +08:00
bug1853-inline-asm.c add test related to bug #1853 2022-09-17 14:42:18 +02:00
call1.c remove dangling spaces 2022-04-17 16:07:52 +02:00
casttochar.c Removed executable bit. 2020-07-12 23:11:43 +02:00
cc65091020.c add missing newline to a bunch of files 2022-04-16 19:51:48 +02:00
cc65141002.c Removed executable bit. 2020-07-12 23:11:43 +02:00
cc65141011.c Removed executable bit. 2020-07-12 23:11:43 +02:00
cc65141022.c Removed executable bit. 2020-07-12 23:11:43 +02:00
cc65150311.c Fix some commonly made spelling errors in comments. 2022-02-21 15:44:31 -05:00
char-bitfield.c Allow char bit-fields 2020-09-08 14:24:04 +02:00
char-promote.c Add tests for u8 op s16_const 2020-11-09 21:20:16 +01:00
common.h added makefile and common include 2014-11-22 17:02:46 +01:00
compare1.c Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
compare2.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
compare3.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
compare4.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
compare5.c remove dangling spaces 2022-04-17 16:07:52 +02:00
compare6.c remove dangling spaces 2022-04-17 16:07:52 +02:00
compare7.c remove dangling spaces 2022-04-17 16:07:52 +02:00
compare8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
compare9.c remove dangling spaces 2022-04-17 16:07:52 +02:00
compare10.c remove dangling spaces 2022-04-17 16:07:52 +02:00
computedgoto.c again, some TABs slipped into the code... 2019-04-30 18:21:13 +02:00
constexpr.c remove dangling spaces 2022-04-17 16:07:52 +02:00
counter.c Added support for the popular __COUNTER__ macro. 2022-07-24 23:19:05 +08:00
counter.h Added support for the popular __COUNTER__ macro. 2022-07-24 23:19:05 +08:00
cq4.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq9.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
cq22.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq25.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq26.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq61.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq71.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq72.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq81.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq84.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq85.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq86.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq88.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq241.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq243.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq244.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq626.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq714.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq714b.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq715.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cq757.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
cq7813.c remove dangling spaces 2022-04-17 16:07:52 +02:00
div-char-char.c tests for issue #169 2020-07-09 16:05:57 +02:00
div-common.h tests for issue #169 2020-07-09 16:05:57 +02:00
div-int-int.c tests for issue #169 2020-07-09 16:05:57 +02:00
div-long-long.c tests for issue #169 2020-07-09 16:05:57 +02:00
duffs-device.c remove dangling spaces 2022-04-17 16:07:52 +02:00
fields.c move (now working) tests to test/val 2020-07-21 19:24:39 +02:00
for.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
jmp-callax.c again, some TABs slipped into the code... 2019-04-30 18:21:13 +02:00
lib_common_atoi.c Added further optimizations and unit tests. 2017-03-05 02:09:12 +01:00
lib_common_ctype.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_memmove.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_mulxx.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strcat.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strchr.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strcspn.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strncat.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strol.c Added further optimizations and unit tests. 2017-03-05 02:09:12 +01:00
lib_common_strrchr.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strspn.c remove dangling spaces 2022-04-17 16:07:52 +02:00
lib_common_strtoul.c Added further optimizations and unit tests. 2017-03-05 02:09:12 +01:00
lz4.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
Makefile "cat" result to console on failure (only on *nix right now) 2022-08-23 11:56:05 +02:00
mult1.c remove dangling spaces 2022-04-17 16:07:52 +02:00
nestfor.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
opsize.c Added test cases for result types of certain operations. 2021-06-10 21:54:32 +02:00
or1.c remove dangling spaces 2022-04-17 16:07:52 +02:00
pointed-array.c Removed some trailing whitespace; and, expanded a tab. 2015-07-01 10:09:11 -04:00
pointer1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
postdec-8-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postdec-8-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postdec-16-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postdec-16-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postinc-8-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postinc-8-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postinc-16-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postinc-16-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
postincdec.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
pptest1.c reworked pptest1/4/5 into executable tests and moved to test/val 2020-07-21 14:58:15 +02:00
pptest3.c reworked pptest3 into an exectutable test and moved to test/val 2020-07-21 15:30:35 +02:00
pptest4.c remove dangling spaces 2022-04-17 16:07:52 +02:00
pptest5.c remove dangling spaces 2022-04-17 16:07:52 +02:00
pr1102.c added a test related to pr#1102 - we can now return structs by value when they are max. 4 bytes 2020-07-21 21:04:41 +02:00
pr1110a.c added tests related to pr #1110 2020-07-22 15:52:04 +02:00
pr1423.c remove dangling spaces 2022-04-17 16:07:52 +02:00
pr1425.c test related to pr #1425 2021-03-20 00:23:12 +01:00
pr1461.c added test for issue #1461 2021-04-28 14:21:48 +02:00
pr1800.c test related to pr #1800 2022-07-28 01:50:54 +02:00
pr1833.c Added testcase for some part of PR #1833. 2022-08-21 00:11:19 +08:00
predec-8-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
predec-8-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
predec-16-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
predec-16-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
preinc-8-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
preinc-8-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
preinc-16-8.c remove dangling spaces 2022-04-17 16:07:52 +02:00
preinc-16-16.c remove dangling spaces 2022-04-17 16:07:52 +02:00
ptrfunc.c remove ifdef magic 2020-07-22 00:21:23 +02:00
rand.c remove TABs which again slipped in.... 2020-12-25 07:16:26 +01:00
return-struct.c move/fix bug264.c as suggested in issue #1122 2020-08-19 22:25:18 +02:00
rotate1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
rotate2.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
rotate3.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
rotate4.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
rotate5.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
rotate6.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
rotate7.c use uint16_t instead of magic ifdefs, leaving support for bit type in there incase we support it some day 2020-07-22 00:09:48 +02:00
rotate8.c Added a regression test program for the changes in the right-shift optimizer. 2015-12-14 11:46:30 -05:00
shift-test.c move a bunch of tests from testcode/lib to test/val (and a failing one to test/todo) 2020-07-13 21:25:13 +02:00
signal-test.c some tweaks to the moved tests to make them more suitable for automatic testing 2020-07-13 21:26:07 +02:00
snprintf-test.c some tweaks to the moved tests to make them more suitable for automatic testing 2020-07-13 21:26:07 +02:00
static-1.c Improved test case for Issue #191. 2020-08-14 18:33:54 +02:00
static-fwd-decl.c remove dangling spaces 2022-04-17 16:07:52 +02:00
staticassert.c change "the cc65 authors" to "The cc65 Authors" as per jmrs request 2020-08-18 22:41:42 +02:00
strncmp-test.c some tweaks to the moved tests to make them more suitable for automatic testing 2020-07-13 21:26:07 +02:00
strnicmp-test.c remove dangling spaces 2022-04-17 16:07:52 +02:00
strpbrk-test.c some tweaks to the moved tests to make them more suitable for automatic testing 2020-07-13 21:26:07 +02:00
strtol-test.c move a bunch of tests from testcode/lib to test/val (and a failing one to test/todo) 2020-07-13 21:25:13 +02:00
strtoul-test.c move a bunch of tests from testcode/lib to test/val (and a failing one to test/todo) 2020-07-13 21:25:13 +02:00
struct1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
sub1.c Fix some commonly made spelling errors in comments. 2022-02-21 15:44:31 -05:00
sub2.c Fix some commonly made spelling errors in comments. 2022-02-21 15:44:31 -05:00
switch1.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
switch2.c remove dangling spaces 2022-04-17 16:07:52 +02:00
time-test.c remove dangling spaces 2022-04-17 16:07:52 +02:00
time.c Increased consistency. 2018-08-02 15:45:57 +02:00
trampoline-params.c Changed empty parameter lists into (void) lists on functions with asm() statements. 2019-07-16 13:16:02 -04:00
trampoline-varargs.c Changed empty parameter lists into (void) lists on functions with asm() statements. 2019-07-16 13:16:02 -04:00
trampoline.c Changed empty parameter lists into (void) lists on functions with asm() statements. 2019-07-16 13:16:02 -04:00
uneval.c Added testcase for the "deferred ops in unevaluated context" bug. 2021-02-22 11:02:47 +01:00
unittest.h Added further optimizations and unit tests. 2017-03-05 02:09:12 +01:00
void-size1.c Made C's sizeof operator work with initialized void variables. 2017-03-12 14:41:32 -04:00
while.c Fixed the handling of "while (0) {}". 2017-04-07 09:26:58 -04:00
xor.c remove dangling spaces 2022-04-17 16:07:52 +02:00