libs-base/config/config.non-fragile-ivars.m
thebeing 8f9a6da0d0 Remove useless include of objc-common.g (__has_feature is a built-in macro with
clang, it doesn't need anything else).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31236 72102866-910b-0410-8b05-ffd578937521
2010-09-04 17:24:37 +00:00

13 lines
260 B
Objective-C

/* A program for testing if the compiler is using non-fragile-ivars.
* Fails to build or returns 1 if the feature is not availale.
*/
int
main()
{
#ifndef __has_feature
#define __has_feature(x) 0
#endif
return __has_feature(objc_nonfragile_abi) ? 0 : 1;
}