You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
190 B
14 lines
190 B
7 months ago
|
// RUN: %clang_cc1 %s -O3 -emit-llvm -o -
|
||
|
// PR1173
|
||
|
|
||
|
struct S { char s; };
|
||
|
struct T { struct S t; };
|
||
|
|
||
|
struct S *const p = &((struct T * const) (0x4000))->t;
|
||
|
|
||
|
void
|
||
|
foo (void)
|
||
|
{
|
||
|
p->s = 0;
|
||
|
}
|