diff --git a/clang/test/BoundsSafety-legacy-checks/Sema/compound-literal-ended_by.c b/clang/test/BoundsSafety-legacy-checks/Sema/compound-literal-ended_by.c index 7b246df07df3a..d654f6309a128 100644 --- a/clang/test/BoundsSafety-legacy-checks/Sema/compound-literal-ended_by.c +++ b/clang/test/BoundsSafety-legacy-checks/Sema/compound-literal-ended_by.c @@ -176,10 +176,9 @@ struct eb_with_other_data field_initializers_with_side_effects(struct eb_with_ot struct eb_with_other_data global_eb_with_other_data_side_effect_init = (struct eb_with_other_data) { - // FIXME: Location of first non-constant is wrong (rdar://81135826) - .start = 0x0, // both-error{{initializer element is not a compile-time constant}} + .start = 0x0, .end = 0x0, - .other = side_effect() + .other = side_effect() // both-error{{initializer element is not a compile-time constant}} }; struct eb_with_other_data side_effects_in_ptrs(struct eb_with_other_data* s) { diff --git a/clang/test/BoundsSafety/Sema/compound-literal-ended_by.c b/clang/test/BoundsSafety/Sema/compound-literal-ended_by.c index fdac7adb09cc0..67eba36c81376 100644 --- a/clang/test/BoundsSafety/Sema/compound-literal-ended_by.c +++ b/clang/test/BoundsSafety/Sema/compound-literal-ended_by.c @@ -172,10 +172,9 @@ struct eb_with_other_data field_initializers_with_side_effects(struct eb_with_ot struct eb_with_other_data global_eb_with_other_data_side_effect_init = (struct eb_with_other_data) { - // FIXME: Location of first non-constant is wrong (rdar://81135826) - .start = 0x0, // both-error{{initializer element is not a compile-time constant}} + .start = 0x0, .end = 0x0, - .other = side_effect() + .other = side_effect() // both-error{{initializer element is not a compile-time constant}} }; struct eb_with_other_data side_effects_in_ptrs(struct eb_with_other_data* s) {