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
/
2007-04-05-UnPackedStruct.c
blob
9e168ed34febae3568aa4177a56edfd1d9824586
1
// RUN: %llvmgcc %s -S -o -
2
3
4
enum
{
5
tA
=
0
,
6
tB
=
1
7
};
8
9
struct
MyStruct
{
10
unsigned long
A
;
11
void
*
B
;
12
};
13
14
void
bar
(){
15
struct
MyStruct MS
= {
tB
,
0
};
16
}