4 /* bit types are not ANSI - so provide a way of disabling bit types
5 * if this file is used to test other compilers besides SDCC */
6 #define SUPPORT_BIT_TYPES 1
8 /* Some compilers that support bit types do not support bit arithmetic
9 * (like bitx = bity + bitz;) */
10 #define SUPPORT_BIT_ARITHMETIC 1
12 unsigned char success=0;
13 unsigned char failures=0;
14 unsigned char dummy=0;
33 unsigned int aint0 = 0;
34 unsigned int aint1 = 0;
35 unsigned char achar0 = 0;
36 unsigned char achar1 = 0;
37 unsigned char *acharP = 0;
44 struct chars char_struct;
53 void struct_test(void)
56 if(char_struct.c0 || char_struct.c1)
61 if(char_struct.c0 != 1)
65 void ptr_to_struct(struct chars *p)
86 ptr_to_struct(&char_struct);