summaryrefslogtreecommitdiff
path: root/tests/scanner/regress.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/regress.c')
-rw-r--r--tests/scanner/regress.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index 728c7e81..13df9e29 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -1827,7 +1827,7 @@ const RegressTestSimpleBoxedA*
regress_test_simple_boxed_a_const_return (void)
{
static RegressTestSimpleBoxedA simple_a = {
- 5, 6, 7.0
+ 5, 6, 7.0, REGRESS_TEST_VALUE1
};
return &simple_a;
@@ -4514,9 +4514,9 @@ void
regress_test_array_struct_out_none (RegressTestStructA **arr, gsize *len)
{
static RegressTestStructA array[3] = {
- {111},
- {222},
- {333},
+ {.some_int = 111},
+ {.some_int = 222},
+ {.some_int = 333},
};
*arr = array;