Ensure __has_feature is defined in test/support/count_new.hpp

llvm-svn: 227263
This commit is contained in:
Eric Fiselier 2015-01-27 23:03:38 +00:00
parent 4016f78dbd
commit 5a4ee414d8

View File

@ -5,6 +5,10 @@
# include <cassert>
# include <new>
#ifndef __has_feature
# define __has_feature(x)
#endif
#if __has_feature(address_sanitizer) \
|| __has_feature(memory_sanitizer)
#define DISABLE_NEW_COUNT