aboutsummaryrefslogtreecommitdiff
path: root/tests/test-grad0.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-grad0.c')
-rw-r--r--tests/test-grad0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-grad0.c b/tests/test-grad0.c
index da4001c..01467bc 100644
--- a/tests/test-grad0.c
+++ b/tests/test-grad0.c
@@ -10,7 +10,9 @@
#pragma warning(disable: 4244 4267) // possible loss of data
#endif
+#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wdouble-promotion"
+#endif
#define MAX_NARGS 3