summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr46388.c
blob: 74f60bb569a5f307440bdad5f87fae2a23fe3819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR middle-end/46388 */

struct S;
struct T
{
  struct S *t;
};
extern struct S s, u;

void
foo (void)
{
  ((struct T *) &u)->t = &s;
}