chibicc/test
Rui Ueyama dcd4579226 Handle a function returning bool, char or short
x86-64 psABI says that only the least significant 8 bits are
significant if RAX has a return value of a function returning bool.
Likewise, it looks like only the least significant 1 or 2 bytes
are guaranteed to have a correct value for char and short return
values, respectively.
2020-12-07 12:00:06 +09:00
..
alignof.c [GNU] Allow a variable as an operand of _Alignof 2020-12-07 12:00:06 +09:00
arith.c Add ?: operator 2020-12-07 12:00:06 +09:00
cast.c Add type cast 2020-12-07 12:00:05 +09:00
common Handle a function returning bool, char or short 2020-12-07 12:00:06 +09:00
complit.c Add compound literals 2020-12-07 12:00:06 +09:00
constexpr.c Add constant expression 2020-12-07 12:00:06 +09:00
control.c Add do ... while 2020-12-07 12:00:06 +09:00
decl.c Add _Bool type 2020-12-07 12:00:05 +09:00
driver.sh Rewrite tests in shell script in C 2020-10-15 14:22:15 +09:00
enum.c Add enum 2020-12-07 12:00:05 +09:00
extern.c Handle extern declarations in a block 2020-12-07 12:00:06 +09:00
function.c Handle a function returning bool, char or short 2020-12-07 12:00:06 +09:00
initializer.c Allow to initialize struct flexible array member 2020-12-07 12:00:06 +09:00
literal.c Add hexadecimal, octal and binary number literals 2020-12-07 12:00:06 +09:00
pointer.c Rewrite tests in shell script in C 2020-10-15 14:22:15 +09:00
sizeof.c Add flexible array member 2020-12-07 12:00:06 +09:00
string.c Rewrite tests in shell script in C 2020-10-15 14:22:15 +09:00
struct.c Add a notion of an incomplete struct type 2020-12-07 12:00:06 +09:00
test.h Handle a function returning bool, char or short 2020-12-07 12:00:06 +09:00
typedef.c Add typedef 2020-12-07 11:51:20 +09:00
union.c Add struct assignment 2020-10-15 14:22:16 +09:00
usualconv.c Implement usual arithmetic conversion 2020-12-07 12:00:05 +09:00
variable.c Add static global variables 2020-12-07 12:00:06 +09:00