mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-27 10:40:50 +00:00
14 lines
260 B
Mathematica
14 lines
260 B
Mathematica
|
/* 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;
|
||
|
}
|
||
|
|