struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-3597.c
blob7ac9241b148e55cb1e1357c303ae06158c262b25
1 /* bug-3626.c
2 Compatibility check of array declarations incorrectly depended on order of declarations.
3 */
5 #include <testfwk.h>
7 const int foo[] = {42,43,44,45,46,47}; // Initialized to 6 elements, completing the array type.
8 extern const int foo[]; // Redeclaration uses incomplete type.
10 void
11 testBug (void)
13 return;