================ @@ -0,0 +1,84 @@ +// RUN: %clang_cc1 -triple arm64-apple-ios -fsyntax-only -verify -fptrauth-intrinsics %s + +#include <ptrauth.h> + +#if __has_feature(ptrauth_qualifier) +#warning __ptrauth qualifier enabled! +// expected-warning@-1 {{__ptrauth qualifier enabled!}} +#endif + +#if __aarch64__ ---------------- kovdan01 wrote:
Nit: I'm OK with such preprocessor if statement, but it looks a bit over-engineering. For non-AArch64, it looks like that many tests would require such intervention, not only this one. So, probably just providing defines would also be fine. Feel free to ignore. https://github.com/llvm/llvm-project/pull/100830 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits