| David Chisnall | b601c96 | 2012-07-03 20:49:52 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple i386-unknown-unknown -fobjc-runtime=gcc %s | 
| David Chisnall | 4dc74a0 | 2009-08-31 16:53:06 +0000 | [diff] [blame] | 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 | ||||