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-18-CondExprLValue.c
blob
68ee622c64195a1f0bd72bcf072083c8fa0f0259
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
typedef
struct
{
unsigned long
pgprot
; }
pgprot_t
;
4
5
void
split_large_page
(
unsigned long
addr
,
pgprot_t prot
)
6
{
7
(
addr
?
prot
: ((
pgprot_t
) {
0x001
} )).
pgprot
;
8
}
9