repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC
/
2003-11-27-ConstructorCast.c
blob
15eb7694795198497e08b11a342cdd2adcf30b6e
1
// RUN: %llvmgcc -S %s -o - | llvm-as -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
}