struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-524211.c
blob3d3128bd0fd63d98ed7338ea4f5d3f942efa51c6
1 /* Problem with casts and warnings.
2 */
3 #include <testfwk.h>
5 #if 0
6 /* Disabled as this only shows a warning */
8 typedef unsigned short UINT16;
9 typedef unsigned char UINT8;
11 typedef struct _Class Class;
13 typedef struct _String
15 const UINT8 sz[1];
16 } String;
18 struct _Class
20 String *szName;
23 const Class Bar = {
24 "java.lang.Object",
27 void foo(void)
30 #endif
32 void testBug(void)