blob: 68ee622c64195a1f0bd72bcf072083c8fa0f0259 [file] [log] [blame]
Dan Gohman0d4bbf22009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Tanya Lattnerca211872004-11-06 22:41:00 +00002
Chris Lattnerc4cc1972003-11-18 23:46:07 +00003typedef struct { unsigned long pgprot; } pgprot_t;
4
5void split_large_page(unsigned long addr, pgprot_t prot)
6{
7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
8}
9