repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2007-11-28-GlobalInitializer.c
blob
a79ccddbe9e4fde29cb5d8bca98f3ad5375487b7
1
// RUN: %clang_cc1 -emit-llvm %s -o -
2
// PR1744
3
typedef
struct
foo
{
int
x
;
char
*
p
; }
FOO
;
4
extern
FOO yy
[];
5
6
int
*
y
= &((
yy
+
1
)->
x
);
7
void
*
z
= &((
yy
+
1
)->
x
);
8