libs-base/config/config.objc.m

23 lines
238 B
Mathematica
Raw Permalink Normal View History

#include "objc-common.g"
GS_OBJC_ROOT_CLASS @interface Test
+(int) testResult;
@end
@implementation Test
+ (void) initialize
{
return;
}
+(int) testResult
{
return -1;
}
@end
int main (void)
{
return ([Test testResult] + 1);
}