llvm-project/clang/test/Preprocessor/non_fragile_feature1.m

9 lines
229 B
Objective-C

// RUN: clang-cc -triple i386-unknown-unknown %s
#ifndef __has_feature
#error Should have __has_feature
#endif
#if __has_feature(objc_nonfragile_abi)
#error Non-fragile ABI not used for compilation but feature macro set.
#endif