blob: 90251e6debdfcc88c76f4ec69ee66159df9b0d32 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
2// PR1173
3
4struct S { char s; };
5struct T { struct S t; };
6
7struct S *const p = &((struct T * const) (0x4000))->t;
8
9void
10foo (void)
11{
12 p->s = 0;
13}