cc65/test/ref
Kugel Fuhr cd4357057f The change from #2495 didn't take into account that recursive calls to main()
are legal in C. With the changes from #2495, such calls will usually crash the
machine. But recursive calls to main() are rare and on the 6502 every byte
saved is precious. So this change limits the effect of #2495 to cc65 mode and
at the same time disallows recursive calls to main() in this mode. If
recursive calls to main() are actually required, the code must be compiled in
c89 or c99 mode.
2024-09-02 10:39:42 +02:00
..
8q.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
array.c remove dangling spaces 2022-04-17 16:07:52 +02:00
bug1889-missing-identifier.c Refix for diagnosis on expected expressions. 2024-01-10 04:48:27 +08:00
bug1889-missing-identifier.cref Added missing checks for forward declarations of the main() function. 2024-01-23 14:33:05 +08:00
bug2312-preprocessor-error.c Separated C preprocessor errors from other errors. 2023-12-18 15:30:53 +08:00
bug2312-preprocessor-error.cref Separated C preprocessor errors from other errors. 2023-12-18 15:30:53 +08:00
cc65070303.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65080227.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65080328.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65090111.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65090124.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65090726.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65090910.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
cc65090913.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
cc65091007.c fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
cc65091022.c Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
cc65101102.c Changed most "backticks" (grave accents) into apostrophes. 2019-01-05 14:57:12 -05:00
cc65101209.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cc65101216.c add missing newline to a bunch of files 2022-04-16 19:51:48 +02:00
cc65110210.c removed references to macros from common.h 2020-07-21 23:50:23 +02:00
cc65110211.c fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
cf.c remove dangling spaces 2022-04-17 16:07:52 +02:00
cf.in Removed executable bit. 2020-07-12 23:11:43 +02:00
charconst.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
charset.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
common.h fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
custom-reference-error.c The change from #2495 didn't take into account that recursive calls to main() 2024-09-02 10:39:42 +02:00
custom-reference-error.cref Fixed false "Non constant initializers" error messages on wrong places, which could be resulted from failed array declarations etc. 2024-01-10 04:43:50 +08:00
custom-reference.c added examples for tests that compare the compiler output with a reference 2022-11-03 17:40:13 +01:00
custom-reference.cref added examples for tests that compare the compiler output with a reference 2022-11-03 17:40:13 +01:00
cvt.c fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
dijkstra.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
divmod.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
goto.c Added testcase for between-blocks gotos. 2018-10-02 18:49:53 +02:00
hanoi.c Replaced plain 0's and 1's in exit statements with EXIT_SUCCESS or EXIT_FAILURE 2019-11-19 14:08:00 +01:00
ifexpr.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
incr.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
init.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
inline-error.c Added missing checks for forward declarations of the main() function. 2024-01-23 14:33:05 +08:00
inline-error.cref Added missing checks for forward declarations of the main() function. 2024-01-23 14:33:05 +08:00
macro.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
Makefile Keep gcc-14 from aborting with errors due to new defaults. 2024-07-07 00:48:15 +02:00
mandel.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
minimal.c fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
otccex.c Allowed old-style (K and R) function declarations to be fastcall. 2019-07-22 09:26:23 -04:00
paranoia.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
pointer2.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
pr1220.c Change line endings from CRLF to LF 2020-09-04 14:01:21 +02:00
return.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
sort.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
spill.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
stdarg.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
strptr.c remove dangling spaces 2022-04-17 16:07:52 +02:00
struct.c remove dangling spaces 2022-04-17 16:07:52 +02:00
switch2.c remove dangling spaces 2022-04-17 16:07:52 +02:00
switch.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
test_fgets.c Implement __sysremove for sim65 2024-01-28 13:58:57 +01:00
test_fputc.c Rewrite fputc in assembly 2024-01-30 17:19:13 +01:00
test_fputs.c Rewrite fputs in assembly 2024-01-30 17:12:52 +01:00
test_fread.c a BIT of 65C02 optimisations 2024-02-02 19:45:49 +01:00
test_gets.c Fix #2388 2024-01-30 09:39:44 +01:00
varargs.c remote TABs in doc/ and test/ 2019-02-12 22:50:49 +01:00
wf1.c removed references to macros from common.h 2020-07-21 23:50:23 +02:00
wf1.in fixed up the rest of the tests, added rudimentary makefile(s) 2014-11-22 18:28:05 +01:00
yacc2.c remove dangling spaces 2022-04-17 16:07:52 +02:00
yacc.c remove dangling spaces 2022-04-17 16:07:52 +02:00
yacc.in Removed executable bit. 2020-07-12 23:11:43 +02:00
yaccdbg.c added tests as prepared by oliver 2014-09-25 21:38:34 +02:00