summaryrefslogtreecommitdiff
path: root/tests/_Noreturn.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_Noreturn.h')
-rw-r--r--tests/_Noreturn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/_Noreturn.h b/tests/_Noreturn.h
index 7326bd47..9806f2b1 100644
--- a/tests/_Noreturn.h
+++ b/tests/_Noreturn.h
@@ -34,7 +34,7 @@
# elif ((!defined __cplusplus || defined __clang__) \
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|| (!defined __STRICT_ANSI__ \
- && (4 < __GNUC__ + (7 <= __GNUC_MINOR__) \
+ && (4 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __clang__ \
|| (defined __apple_build_version__ \
? 6000000 <= __apple_build_version__ \
: 3 < __clang_major__ + (5 <= __clang_minor__))))))