summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-18 21:44:10 +0000
committerChris Lattner <sabre@nondot.org>2003-08-18 21:44:10 +0000
commit134480cb1b2270251aa12e87fff32ec391d8d8f6 (patch)
tree97d4897c2797adcf95d265157382e9de2efef186 /test/CFrontend
parent04aa29d7bf97f6fd73883df7fa5127510c9cc40b (diff)
downloadllvm-134480cb1b2270251aa12e87fff32ec391d8d8f6.tar.gz
llvm-134480cb1b2270251aa12e87fff32ec391d8d8f6.tar.bz2
llvm-134480cb1b2270251aa12e87fff32ec391d8d8f6.tar.xz
Make the testcase more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-08-18-StructAsValue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/2003-08-18-StructAsValue.c b/test/CFrontend/2003-08-18-StructAsValue.c
index 84a66ae3f9..fbf6988fa2 100644
--- a/test/CFrontend/2003-08-18-StructAsValue.c
+++ b/test/CFrontend/2003-08-18-StructAsValue.c
@@ -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;
}