struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / implicit_int.c
blob536524090d51c621e5b9d92f12a62a394daed185
1 /*
2 The C90 implicit int rule
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c89
9 #pragma disable_warning 85
10 #pragma disable_warning 225
12 static x;
13 volatile y;
14 #endif
16 void testint(void)
18 #ifdef __SDCC // Don't know how to set host compiler to C90 mode.
19 auto a;
20 static b;
21 register c;
22 volatile d;
23 #endif