1 /*
2 20010604-1.c from the execute part of the gcc torture tests.
3 */
4
5 #include <testfwk.h>
6
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
10
11 #include <stdbool.h>
12
func(int a,int b,int c,_Bool d,_Bool e,_Bool f,char g)13 int func (int a, int b, int c, _Bool d, _Bool e, _Bool f, char g)
14 {
15 if (g != 1 || d != true || e != true || f != true) ASSERT (0);
16 return a + b + c;
17 }
18
19 void
testTortureExecute(void)20 testTortureExecute (void)
21 {
22 if (func (1, 2, -3, true, true, true, '\001'))
23 ASSERT (0);
24 return;
25 }
26
27