selector-2.m: Remove "-fgnu-runtime"; be flexible about where warning appears.
[gcc/testsuite/ChangeLog] 2005-05-25 Ziemowit Laski <zlaski@apple.com> * objc.dg/selector-2.m: Remove "-fgnu-runtime"; be flexible about where warning appears. From-SVN: r100167
This commit is contained in:
parent
29a79fcf4e
commit
3d0994b831
@ -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.
|
||||
|
@ -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 } */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user