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

13 lines
275 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
#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