llvm-capstone/clang/test/Preprocessor/non_fragile_feature1.m
David Chisnall b601c96892 Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep
runtime to gnustep from gnu.  Fix EH for the GCC runtime.

llvm-svn: 159684
2012-07-03 20:49:52 +00:00

9 lines
250 B
Objective-C

// RUN: %clang_cc1 -triple i386-unknown-unknown -fobjc-runtime=gcc %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