blob: 67081211ccaa327e1d1b109ccfa442834f74da82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
typedef struct {
int *p;
} *A;
extern const int a[1];
extern const int b[1];
void foo()
{
A x;
A y;
static const int * const c[] = { b };
x->p = (int*)c[0];
y->p = (int*)a;
}
|