linux arm regtest: add an expected for leak_cpp_interior
commit501ff5d61ec0efa2b352dac4bb613129d5224ad2
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 16 Feb 2024 20:35:11 +0000 (16 21:35 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 16 Feb 2024 20:35:11 +0000 (16 21:35 +0100)
tree618258a6d4f1873a7fb15912c57ad6fde271bef1
parent694da83081c4ec13f051482284cd4308b8540c23
linux arm regtest: add an expected for leak_cpp_interior

For this code

  ptr2 = new MyClass[0]; // "interior but exterior ptr".
  // ptr2 points after the chunk, is wrongly considered by memcheck as definitely leaked.

there's a possible leak rather than a definite one.
I tried adding the clobber macro but that didn't change anything.
So I'm still not too sure why memcheck is finding the pointer for
this.
memcheck/tests/Makefile.am
memcheck/tests/leak_cpp_interior.stderr.exp-arm [new file with mode: 0644]