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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2003-06-26-CFECrash.c
blob
aef3aa025344839747984c08e972c961b29316ea
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
typedef
struct
min_info
{
4
long
offset
;
5
unsigned
file_attr
;
6
}
min_info
;
7
8
typedef
struct
Globals
{
9
char
answerbuf
;
10
min_info info
[
1
];
11
min_info
*
pInfo
;
12
}
Uz_Globs
;
13
14
extern
Uz_Globs G
;
15
16
int
extract_or_test_files
(
void
) {
17
G
.
pInfo
=
G
.
info
;
18
}
19