blob: 68ee622c64195a1f0bd72bcf072083c8fa0f0259 [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3typedef 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