repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve compatibility with older versions of Windows.
[llvm/msp430.git]
/
test
/
FrontendC
/
2003-11-18-CondExprLValue.c
blob
ec000a443d90b63e8d3064efd6d0911537acac61
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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