blob: 5584f1511b6ac71e8a7319787dfd3235f654ee63 [file] [log] [blame]
/* Test that we don't ICE when issuing a -Wselector warning. */
/* { dg-options "-Wselector -fgnu-runtime" } */
/* { dg-do compile } */
#include <objc/Object.h>
@interface Foo
@end
@implementation Foo
-(void) foo
{
SEL a;
a = @selector(b1ar);
}
@end /* { dg-warning "creating selector for nonexistent method .b1ar." } */