mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29636 72102866-910b-0410-8b05-ffd578937521
15 lines
286 B
Objective-C
15 lines
286 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.
|
|
*/
|
|
|
|
#include "objc-common.g"
|
|
|
|
int
|
|
main()
|
|
{
|
|
#ifndef __has_feature
|
|
#define __has_feature(x) 0
|
|
#endif
|
|
return __has_feature(objc_nonfragile_abi) ? 0 : 1;
|
|
}
|
|
|