blob: 8ab296257db8d41317e50836d7fece9d43f634d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { 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 *-*-* } 13 } */
}
|