xref: /aosp_15_r20/external/clang/test/Preprocessor/non_fragile_feature1.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1// RUN: %clang_cc1 -triple i386-unknown-unknown -fobjc-runtime=gcc %s
2#ifndef __has_feature
3#error Should have __has_feature
4#endif
5
6#if __has_feature(objc_nonfragile_abi)
7#error Non-fragile ABI not used for compilation but feature macro set.
8#endif
9