tinycc/tests
Petr Skocik 587e1f5598 standard conformant inline functions
- add tests for standard conformant inline functions
- implement it

The  old tinycc failed to provide a conforming implementation
of non-static inlines.  It would expose external symbols where it
shouldn't and hide them where it should expose them.

This commit provides a hopefully comprehensive test suite
for how things should be done. The .expect file can be obtained
by compiling the example c file (embedded in the test)
with a conforming compiler such as gcc, clang or icc and then
printing the exported symbols (e.g., with nm+awk+sort).

(The implementation currently reserves two new VT_ flags.
If anyone can provide an implementation without reserving
two extra flags, please replace mine.)
2019-06-11 16:29:24 +02:00
..
pp Add make testspp.all/testspp.20 2018-01-05 02:19:26 +01:00
tests2 standard conformant inline functions 2019-06-11 16:29:24 +02:00
42test.h tccpp: Allow computed include like 42.h 2016-12-15 17:47:10 +01:00
abitest.c Spelling fixes 2017-09-24 18:03:26 -07:00
asm-c-connect-1.c final update for 0.9.27 2017-12-12 17:57:20 +01:00
asm-c-connect-2.c final update for 0.9.27 2017-12-12 17:57:20 +01:00
asmtest.S tccasm: Accept suffixed cmovCC 2017-12-03 04:53:50 +01:00
boundtest.c a bounds checking code for the ARCH=x86_64 2015-04-10 15:17:22 +03:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tests: OOT build fixes etc. 2016-12-20 18:05:33 +01:00
Makefile Fix "make -j test" 2019-03-14 14:59:27 +01:00
tcctest.c Don't allow section switches in local asm instructions 2019-05-30 21:31:35 +02:00
tcctest.h tccpp: Implement __BASE_FILE__ macro 2016-12-15 17:47:08 +01:00
testfp.c Remove misc. files 2016-10-01 20:27:41 +02:00
vla_test.c Improved variable length array support. 2013-04-27 22:58:52 +01:00