aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}