[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-08-18-StructAsValue.c

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 18 16:45:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2003-08-18-StructAsValue.c updated: 1.1 -> 1.2

---
Log message:

Make the testcase more interesting


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2003-08-18-StructAsValue.c
diff -u llvm/test/Regression/CFrontend/2003-08-18-StructAsValue.c:1.1 llvm/test/Regression/CFrontend/2003-08-18-StructAsValue.c:1.2
--- llvm/test/Regression/CFrontend/2003-08-18-StructAsValue.c:1.1	Mon Aug 18 15:19:18 2003
+++ llvm/test/Regression/CFrontend/2003-08-18-StructAsValue.c	Mon Aug 18 16:44:10 2003
@@ -4,6 +4,6 @@
 } event_t;
 
 event_t test(int X) {
-  event_t foo, bar;
+  event_t foo = { 1 }, bar = { 2 };
   return X ? foo : bar;
 }





More information about the llvm-commits mailing list