krasin added a comment. So, this does not work as it introduces an undefined reference to the operator delete. And after a second thought, it might be that it's the warning that got enabled by default is to blame. https://reviews.llvm.org/D31780