diff options
Diffstat (limited to 'test/Preprocessor/feature_tests.c')
-rw-r--r-- | test/Preprocessor/feature_tests.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Preprocessor/feature_tests.c b/test/Preprocessor/feature_tests.c index 35592bd..b78a251 100644 --- a/test/Preprocessor/feature_tests.c +++ b/test/Preprocessor/feature_tests.c @@ -12,6 +12,7 @@ #if !__has_builtin(__builtin_huge_val) || \ !__has_builtin(__builtin_shufflevector) || \ !__has_builtin(__builtin_trap) || \ + !__has_builtin(__c11_atomic_init) || \ !__has_feature(attribute_analyzer_noreturn) || \ !__has_feature(attribute_overloadable) #error Clang should have these @@ -21,7 +22,9 @@ #error Clang should not have this #endif - +#if !__has_feature(__attribute_deprecated_with_message__) +#error Feature name in double underscores does not work +#endif // Make sure we have x86 builtins only (forced with target triple). |