repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2003-11-18-CondExprLValue.c
blob
62968e5fbfc9af6ff65ea1d804dd5cf62d9d4d4d
1
// RUN: %clang_cc1 -emit-llvm %s -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