mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
53f5c4ec97
commit
c0c5b77bc8
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue