Imported Upstream version 2.9.0
[debian/cc1111] / support / regression / tests / bug-524211.c
1 /* Problem with casts and warnings.
2  */
3 #include <testfwk.h>
4
5 #if 0
6 /* Disabled as this only shows a warning */
7
8 typedef unsigned short UINT16;
9 typedef unsigned char UINT8;
10
11 typedef struct _Class Class;
12
13 typedef struct _String
14 {
15   const UINT8 sz[1];
16 } String;
17
18 struct _Class
19 {
20   String *szName;
21 };
22
23 const Class Bar = {
24   "java.lang.Object",
25 };
26
27 void foo(void)
28 {
29 }
30 #endif
31
32 void testBug(void)
33 {
34 }