diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/objc.dg/selector-2.m | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9323ecb..3675dfb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-05-25 Ziemowit Laski <zlaski@apple.com> + + * objc.dg/selector-2.m: Remove "-fgnu-runtime"; be flexible + about where warning appears. + 2005-05-25 Ulrich Weigand <uweigand@de.ibm.com> * gcc.dg/tree-ssa/stdarg-2.c: Add tests for s390*-*-linux* targets. diff --git a/gcc/testsuite/objc.dg/selector-2.m b/gcc/testsuite/objc.dg/selector-2.m index 5584f15..09fbc25 100644 --- a/gcc/testsuite/objc.dg/selector-2.m +++ b/gcc/testsuite/objc.dg/selector-2.m @@ -1,5 +1,5 @@ /* Test that we don't ICE when issuing a -Wselector warning. */ -/* { dg-options "-Wselector -fgnu-runtime" } */ +/* { dg-options "-Wselector" } */ /* { dg-do compile } */ #include <objc/Object.h> @@ -12,5 +12,6 @@ SEL a; a = @selector(b1ar); } -@end /* { dg-warning "creating selector for nonexistent method .b1ar." } */ +@end +/* { dg-warning "creating selector for nonexistent method .b1ar." "" { target *-*-* } 0 } */ |