diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/selector-2.m')
-rw-r--r-- | gcc/testsuite/objc.dg/selector-2.m | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/objc.dg/selector-2.m b/gcc/testsuite/objc.dg/selector-2.m index 5584f1511b6..e73868a92d6 100644 --- a/gcc/testsuite/objc.dg/selector-2.m +++ b/gcc/testsuite/objc.dg/selector-2.m @@ -1,5 +1,6 @@ /* Test that we don't ICE when issuing a -Wselector warning. */ -/* { dg-options "-Wselector -fgnu-runtime" } */ +/* APPLE LOCAL Objective-C */ +/* { dg-options "-Wselector" } */ /* { dg-do compile } */ #include <objc/Object.h> @@ -10,7 +11,8 @@ -(void) foo { SEL a; - a = @selector(b1ar); + /* APPLE LOCAL Objective-C */ + a = @selector(b1ar); /* { dg-warning "creating selector for nonexistent method .b1ar." } */ } -@end /* { dg-warning "creating selector for nonexistent method .b1ar." } */ - +/* APPLE LOCAL Objective-C */ +@end |