Commit 3d0994b8 by Ziemowit Laski Committed by Ziemowit Laski

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
parent 29a79fcf
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.
......
/* 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 } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment