Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20001017-2.c
bloba1f2b5efeae715fbe00e37f1ca1f2c63b5b07cf6
1 /*
2 20001017-2.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #pragma disable_warning 85
10 #endif
12 void
13 fn_4parms (unsigned char a, long *b, long *c, unsigned int *d)
15 if (*b != 1 || *c != 2 || *d != 3)
16 ASSERT (0);
19 void
20 testTortureExecute (void)
22 unsigned char a = 0;
23 unsigned long b = 1, c = 2;
24 unsigned int d = 3;
26 fn_4parms (a, &b, &c, &d);
27 return;