summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000412-1.c
blob: 243b469e7d2a031b866e32ad43b920a1ec1e0cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typedef struct {
        short   a;
        short   b;
} s1;

extern void g(unsigned char *b);

void f(void)
{
        s1        a;
	unsigned char *b;

        a.a = 0;
	b = (unsigned char *)&a;	
        g(b);           
}