summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaan <daanl@outlook.com>2021-10-20 09:36:08 -0700
committerDaan <daanl@outlook.com>2021-10-20 09:36:08 -0700
commitb47d0802d159af10d76471109ad397997d0788ad (patch)
tree2a1df0f3a0920b8b6a6fd8b0395870c100dea819 /test
parentd4397ce16c5fb0f2f5419e578ecd32e4a1be36df (diff)
parent4d89176eb4584c16a2b3141a97c1970cc1664014 (diff)
Merge branch 'dev' into dev-slice
Diffstat (limited to 'test')
-rw-r--r--test/test-api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-api.c b/test/test-api.c
index f72cfaf..8ddbf7c 100644
--- a/test/test-api.c
+++ b/test/test-api.c
@@ -4,7 +4,9 @@ This is free software; you can redistribute it and/or modify it under the
terms of the MIT license. A copy of the license can be found in the file
"LICENSE" at the root of this distribution.
-----------------------------------------------------------------------------*/
+#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Walloc-size-larger-than="
+#endif
/*
Testing allocators is difficult as bugs may only surface after particular