Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/non_fragile_feature.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 %s #ifndef __has_feature #error Should have __has_feature #endif #if !__has_feature(objc_nonfragile_abi) #error Non-fragile ABI used for compilation but feature macro not set. #endif #if !__has_feature(objc_weak_class) #error objc_weak_class should be enabled with nonfragile abi #endif