mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
commit
0098375b73
248 changed files with 40027 additions and 0 deletions
23
Testing/test06.m
Normal file
23
Testing/test06.m
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
#include <objects/objects.h>
|
||||
|
||||
#define N 20
|
||||
|
||||
int main()
|
||||
{
|
||||
int i;
|
||||
|
||||
Array* array = [[Array alloc] init];
|
||||
|
||||
for (i = 0; i < N; i++)
|
||||
{
|
||||
[array addObject:[[Object alloc] init]];
|
||||
}
|
||||
|
||||
[array makeObjectsPerform:@selector(name)];
|
||||
|
||||
[[array objectAtIndex:0] hash];
|
||||
[[array freeObjects] free];
|
||||
printf("no errors\n");
|
||||
exit(0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue