Make the testcase more interesting
authorChris Lattner <sabre@nondot.org>
Mon, 18 Aug 2003 21:44:10 +0000 (21:44 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Aug 2003 21:44:10 +0000 (21:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7961 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-08-18-StructAsValue.c

index 84a66ae3f9f44edab286a0180764981c6316b889..fbf6988fa2506634616966facfd909c5ed382ffc 100644 (file)
@@ -4,6 +4,6 @@ typedef struct {
 } event_t;
 
 event_t test(int X) {
-  event_t foo, bar;
+  event_t foo = { 1 }, bar = { 2 };
   return X ? foo : bar;
 }