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