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
/
2002-03-12-StructInitialize.c
blob
1316fbbd0e4a9569ba96049a5ff9a8926d98998f
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
4
typedef
struct
Connection_Type
{
5
long
to
;
6
char
type
[
10
];
7
long
length
;
8
}
Connection
;
9
10
Connection link
[
3
]
11
= { {
1
,
"link1"
,
10
},
12
{
2
,
"link2"
,
20
},
13
{
3
,
"link3"
,
30
} };
14