llvm-for-llvmta/tools/clang/test/Modules/Inputs/PR28794/Subdir/LibBHeader.h

13 lines
275 B
C++

#ifndef LIB_B_HEADER
#define LIB_B_HEADER
#include "LibAHeader.h"
template <typename T, size_t SlabSize, size_t SizeThreshold>
void *operator new(size_t, BumpPtrAllocatorImpl<T, SlabSize, SizeThreshold> &) {
struct S {};
return (void*)0xdead;
}
#endif // LIB_B_HEADER