blob: 062a56c9f62ddcc08b0298bedecd7082a980d9b2 [file] [log] [blame]
/* { dg-do compile } */
@interface A
- (void)test;
@end
extern int foo();
void baz()
{
[foo test]; /* { dg-warning "invalid receiver type" } */
/* { dg-error "cannot convert to a pointer type" "" { target *-*-* } .-1 } */
}