8000 Moved the allocation outside the compile unit to avoid optimising the new away by basvodde · Pull Request #1868 · cpputest/cpputest · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@basvodde
Copy link
Member
@basvodde basvodde commented Sep 2, 2025

Moved the allocations outside the compile unit so that the compiler cannot optimise the new/delete pair away. This fixes the test to fail in clang and some newer g++ compilers.

@coveralls
Copy link

Coverage Status

coverage: 99.281%. remained the same
when pulling 8e1665e on basvodde:master
into 2ad47d2 on cpputest:master.

@basvodde basvodde merged commit eb5eac7 into cpputest:master Sep 2, 2025
62 of 63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0