* Added.
[fw/sdcc] / support / regression / tests / bug-524211.c
1 /* Problem with casts and warnings.
2  */
3 #include <testfwk.h>
4
5 typedef unsigned short UINT16;
6 typedef unsigned char UINT8;
7
8 typedef struct _Class Class;
9
10 typedef struct _String
11 {
12   const UINT8 sz[1];
13 } String;
14
15 struct _Class
16 {
17   String *szName;
18 };
19
20 const Class Bar = {
21   "java.lang.Object",
22 };
23
24 void foo(void)
25 {
26 }