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-06-22-UnionCrash.c
blob
54d8dc6dda9a108d9b4b2726bf6cc12aeef1553d
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
struct
Blend_Map_Entry
{
4
union
{
5
float
Colour
[
5
];
6
double
Point_Slope
[
2
];
7
}
Vals
;
8
};
9
10
void
test
(
struct
Blend_Map_Entry
*
Foo
)
11
{
12
}
13