diff test/call_suite/globals.c @ 515:c9c546f8598b

- added _Bool type to call_suite* tests
author Tassilo Philipp
date Sun, 10 Apr 2022 21:05:33 +0200
parents e3bf15207d93
children
line wrap: on
line diff
--- a/test/call_suite/globals.c	Sun Apr 10 16:18:28 2022 +0200
+++ b/test/call_suite/globals.c	Sun Apr 10 21:05:33 2022 +0200
@@ -40,6 +40,7 @@
 DEF_TYPES
 #undef X
   for(i=0;i<G_maxargs+1;++i) {
+    K_B[i] = (DCbool)            ((int)rand_d() & 1);
     K_c[i] = (char)              (((rand_d()-0.5)*2) * (1<<7));
     K_s[i] = (short)             (((rand_d()-0.5)*2) * (1<<(sizeof(short)*8-1)));
     K_i[i] = (int)               (((rand_d()-0.5)*2) * (1<<(sizeof(int)*8-2)));