struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20001121-1.c
blobf1f77db8536e7d1b6a44c44fbc6805e59bbf1ca8
1 /*
2 20001121-1.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 93
10 #endif
12 double d;
14 static
15 inline double foo (void)
17 return d;
20 static
21 inline int bar (void)
23 foo();
24 return 0;
27 void
28 testTortureExecute (void)
30 if (bar ())
31 ASSERT (0);
32 return;