mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
cleanup to avoid tests which won't work on most systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
603e2f2f08
commit
2ddc940445
5 changed files with 16 additions and 1 deletions
|
@ -66,10 +66,13 @@ class A1
|
|||
@implementation C @end
|
||||
int main(void)
|
||||
{
|
||||
#if defined(TESTDEV)
|
||||
// Make sure constructors / destructors are called even without -init
|
||||
[[C alloc] release];
|
||||
// Reset state
|
||||
A_init = B_init = A_destroyed = B_destroyed = 0;
|
||||
// Check init is called in the middle
|
||||
[[C new] release];
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue