struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-920829-1.c
blobb7c937cb5165793b0a83d795c8c85327504a91d8
1 /*
2 920829-1.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 // TODO: Enable when sdcc supports long long in these ports!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13 long long c=2863311530LL,c3=2863311530LL*3;
14 #endif
16 void
17 testTortureExecute (void)
19 #if !defined(__SDCC_pdk14) // Lack of memory.
20 if(c*3!=c3)
21 ASSERT(0);
22 return;
23 #endif