Sign in
llvm
/
clang
/
refs/heads/google/testing
/
.
/
test
/
CodeGen
/
2007-11-28-GlobalInitializer.c
blob: a79ccddbe9e4fde29cb5d8bca98f3ad5375487b7 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o -
// PR1744
typedef
struct
foo
{
int
x
;
char
*
p
;
}
FOO
;
extern
FOO yy
[];
int
*
y
=
&((
yy
+
1
)->
x
);
void
*
z
=
&((
yy
+
1
)->
x
);