Add test case for __has_feature(objc_weak_class).

llvm-svn: 102639
This commit is contained in:
Ted Kremenek 2010-04-29 17:43:21 +00:00
parent 23a2f2ff79
commit 772810137a
1 changed files with 4 additions and 0 deletions

View File

@ -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