aboutsummaryrefslogtreecommitdiff
path: root/tests/test-opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-opt.c')
-rw-r--r--tests/test-opt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-opt.c b/tests/test-opt.c
index e928a7d..5531814 100644
--- a/tests/test-opt.c
+++ b/tests/test-opt.c
@@ -7,7 +7,9 @@
#define MAX_NARGS 2
+#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wdouble-promotion"
+#endif
//
// logging