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-11-27-ConstructorCast.c
blob
f04fa213b94a5ee66f0eb4057bb5f6c6f3e4614c
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
struct
i387_soft_struct
{
4
long
cwd
;
5
};
6
union
i387_union
{
7
struct
i387_soft_struct soft
;
8
};
9
struct
thread_struct
{
10
union
i387_union i387
;
11
};
12
void
_init_task_union
(
void
) {
13
struct
thread_struct thread
= (
struct
thread_struct
) { {{
0
}} };
14
}