Created attachment 19947
test-case
The following simple test-case makes clang++ to segfault:
---
void operator delete(void *) {}
#include <memory>
void operator delete(void *) {}
---
$ clang++ -c -std=c++11 tst.cpp
clang-5.0: error: unable to execute command: Segmentation fault (core dumped)
clang-5.0: error: clang frontend command failed due to signal (use -v to see
invocation)
Without -std=c++11 there is no segfault.
tst.cpp
(82 bytes, text/x-c++src)