mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
or before ) or padding at end of line. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
24 lines
361 B
Objective-C
24 lines
361 B
Objective-C
/* Dummy NXConstantString impl for so libobjc that doesn't include it */
|
|
#ifndef NeXT_RUNTIME
|
|
#include <objc/NXConstStr.h>
|
|
@implementation NXConstantString
|
|
@end
|
|
#endif
|
|
|
|
#include <objc/Object.h>
|
|
|
|
@interface Test : Object
|
|
+(int) testResult;
|
|
@end
|
|
|
|
@implementation Test
|
|
+(int) testResult
|
|
{
|
|
return -1;
|
|
}
|
|
@end
|
|
|
|
int main (void)
|
|
{
|
|
return ([Test testResult] + 1);
|
|
}
|