From: Chris Lattner Date: Tue, 18 Nov 2003 23:46:07 +0000 (+0000) Subject: Testcase for PR131 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=df52d97b57e04c23284924c50c6ff728f2a1e982;p=oota-llvm.git Testcase for PR131 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10074 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2003-11-18-CondExprLValue.c b/test/CFrontend/2003-11-18-CondExprLValue.c new file mode 100644 index 00000000000..fbafacb2ce3 --- /dev/null +++ b/test/CFrontend/2003-11-18-CondExprLValue.c @@ -0,0 +1,7 @@ +typedef struct { unsigned long pgprot; } pgprot_t; + +void split_large_page(unsigned long addr, pgprot_t prot) +{ + (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot; +} +