diff options
Diffstat (limited to 'test/unit/unitTest.cxx')
-rw-r--r-- | test/unit/unitTest.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/unitTest.cxx b/test/unit/unitTest.cxx index a98b740d8..aa9eb6a99 100644 --- a/test/unit/unitTest.cxx +++ b/test/unit/unitTest.cxx @@ -42,8 +42,10 @@ // may not be available so protect by turning off pragma warnings #pragma GCC diagnostic ignored "-Wunknown-pragmas" #pragma GCC diagnostic ignored "-Wpragmas" +#if !defined(__clang__) #pragma GCC diagnostic ignored "-Wmisleading-indentation" #endif +#endif #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" |