In gcc/testsuite/:

* objc/execute/exceptions/throw-nil.m: Run the test only with the
        GNU runtime.

From-SVN: r164359
This commit is contained in:
Nicola Pero 2010-09-17 10:14:25 +00:00 committed by Nicola Pero
parent c3224d6f70
commit 46936bf011
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
PR testsuite/45692
* objc/execute/exceptions/throw-nil.m: Run the test only with the
GNU runtime.
2010-09-17 Richard Guenther <rguenther@suse.de>
* gcc.dg/pr27898.c: Use -flto instead of -combine.

View File

@ -1,8 +1,18 @@
#include <objc/objc.h>
#include <objc/Object.h>
#ifdef __NEXT_RUNTIME__
/* This test only runs for the GNU runtime. */
int main(void)
{
return 0;
}
#else
/* Test throwing a nil exception. A 'nil' exception can only be
* caugth by a generic exception handler.
caugth by a generic exception handler.
*/
int main (void)
@ -36,3 +46,5 @@ int main (void)
return 0;
}
#endif