forked from OSchip/llvm-project
Add test case for __has_feature(objc_weak_class).
llvm-svn: 102639
This commit is contained in:
parent
23a2f2ff79
commit
772810137a
|
@ -6,3 +6,7 @@
|
|||
#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
|
||||
|
|
Loading…
Reference in New Issue