Cleanup: GCC warning in guardedalloc_overflow_test
This commit is contained in:
parent
0c0f972e86
commit
7f15120e9c
|
@ -11,6 +11,11 @@
|
|||
# define ABORT_PREDICATE ::testing::KilledBySignal(SIGABRT)
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
/* Disable since it's the purpose of this test. */
|
||||
# pragma GCC diagnostic ignored "-Walloc-size-larger-than="
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
void MallocArray(size_t len, size_t size)
|
||||
|
|
Loading…
Reference in New Issue