blob: 9461fdb1ef2ebf1ed21068d7bf19ddab4a0f94cb [file] [log] [blame]
// { dg-do compile }
// { dg-options "" }
@interface A
- (void)test;
@end
extern int foo();
void baz()
{
[foo test]; /* { dg-warning "receiver type .+ or interface pointer, consider casting it" } */
}