Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2003-11-18-CondExprLValue.c
blob68ee622c64195a1f0bd72bcf072083c8fa0f0259
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
3 typedef struct { unsigned long pgprot; } pgprot_t;
5 void split_large_page(unsigned long addr, pgprot_t prot)
7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;