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
/
2008-01-21-PackedBitFields.c
blob
4c38dee408cbad54fbaea71d0104721af1fa9ea0
1
// RUN: %llvmgcc %s -S -o -
2
3
typedef
double
Al1Double
__attribute__
((
aligned
(
1
)));
4
struct
x
{
int
a
:
23
;
Al1Double v
; };
5
struct
x X
= {
5
,
3.0
};
6
double
foo
() {
return
X
.
v
; }
7