Closed JamesLee-Jones closed 3 months ago
The expression: char test {24}; is incorrectly translated to:
char test {24};
char test __dredd_replace_expr_char_constant(__dredd_replace_expr_char_constant({__dredd_replace_expr_char_constant(24, 0)}, 5), 10);
The literal in the braces should continue being mutated, but we should avoid mutating expressions if they are being used to initialise a variable.
The expression:
char test {24};
is incorrectly translated to:The literal in the braces should continue being mutated, but we should avoid mutating expressions if they are being used to initialise a variable.