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:
Ziemowit Laski 2005-05-25 21:18:43 +00:00 committed by Ziemowit Laski
parent 29a79fcf4e
commit 3d0994b831
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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 } */