summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20050516-1.c
blob: 2cdf6960807c2be7089ad9144f20031be463792d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR tree-optimization/21610 */

struct S { char s; };
struct T { struct S t; };

struct S *const p = &((struct T * const) (0x4000))->t;

void
foo (void)
{
  p->s = 0;
}