[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-11-18-CondExprLValue.c
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Tue Nov 18 17:47:00 PST 2003
    
    
  
Changes in directory llvm/test/Regression/CFrontend:
2003-11-18-CondExprLValue.c added (r1.1)
---
Log message:
Testcase for PR131
---
Diffs of the changes:  (+7 -0)
Index: llvm/test/Regression/CFrontend/2003-11-18-CondExprLValue.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-11-18-CondExprLValue.c:1.1
*** /dev/null	Tue Nov 18 17:46:17 2003
--- llvm/test/Regression/CFrontend/2003-11-18-CondExprLValue.c	Tue Nov 18 17:46:07 2003
***************
*** 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;
+ }
+ 
    
    
More information about the llvm-commits
mailing list