Made the last test a hope - it definitely fails with old versions of the GCC runtime.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32338 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-02-23 18:42:15 +00:00
parent 53f5c4ec97
commit c0c5b77bc8

View file

@ -15,7 +15,9 @@ int main(void)
caught = str;
}
[NSAutoreleasePool new];
PASS((caught == thrown), "Throwing an NSConstantString instance before the class is initialised");
START_SET(YES)
PASS((caught == thrown), "Throwing an NSConstantString instance before the class is initialised");
END_SET("String throwing")
#else
[NSAutoreleasePool new];
unsupported("Native exceptions");