| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 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 | |||||