aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2003-11-18-CondExprLValue.c
blob: 68ee622c64195a1f0bd72bcf072083c8fa0f0259 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null

typedef struct { unsigned long pgprot; } pgprot_t;

void split_large_page(unsigned long addr, pgprot_t prot)
{
  (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
}