Compile the following 1.cpp with command line clang++ -Xclang -fdump-record-layouts-complete 1.cpp cause a clang abort:
template <class Pointer>
struct AllocationResult {
Pointer ptr = nullptr;
int count = 0;
};
int main(){}
The attachment is crash backtrace, preprocessed source, and associated run script.
crashsite.zip