Sign in
cobalt
/
cobalt
/
refs/heads/21.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
2007-11-28-GlobalInitializer.c
blob: a79ccddbe9e4fde29cb5d8bca98f3ad5375487b7 [
file
] [
log
] [
blame
] [
edit
]
// 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
);