comparison test/suite_aggrs/cases.c @ 461:236015fdf7a8

suite_aggrs: - added support to gen unions in addition to structs - regenerated struct/union-mixed and nested cases - made rand-sig.lua ignore closing struct/union chars if not opened, effectively reducing number of empty aggregates as it now generated way too much
author Tassilo Philipp
date Mon, 31 Jan 2022 14:41:11 +0100
parents 68d98455a8bd
children 0f3b6898078d
comparison
equal deleted inserted replaced
460:0ae555528709 461:236015fdf7a8
46 #define d double 46 #define d double
47 #define a void* /* all generated aggregates */ 47 #define a void* /* all generated aggregates */
48 48
49 #include "dyncall.h" 49 #include "dyncall.h"
50 50
51 /* Plan9 pcc and MSVC (when using C) do not allow empty structs */
51 #if defined(DC__C_MSVC) || defined(DC__OS_Plan9) 52 #if defined(DC__C_MSVC) || defined(DC__OS_Plan9)
52 /* Plan9 pcc does not allow empty structs */
53 # include "nonemptystructs.h" 53 # include "nonemptystructs.h"
54 #else 54 #else
55 # include "cases.h" 55 # include "cases.h"
56 #endif 56 #endif
57 57