mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
17 lines
391 B
Mathematica
17 lines
391 B
Mathematica
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
id a,b,c;
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
NSAutoreleasePool *p = [NSAutoreleasePool new];
|
||
|
NSZombieEnabled = YES;
|
||
|
a = [NSFileHandle fileHandleWithStandardInput];
|
||
|
b = [NSFileHandle fileHandleWithStandardOutput];
|
||
|
c = [NSFileHandle fileHandleWithStandardError];
|
||
|
[p drain];
|
||
|
assert(0 != [a description]);
|
||
|
assert(0 != [b description]);
|
||
|
assert(0 != [c description]);
|
||
|
}
|