Sign in
gnu
/
gcc
/
refs/heads/releases/gcc-4.8
/
.
/
gcc
/
testsuite
/
objc.dg
/
bad-receiver-type.m
blob: 8ab296257db8d41317e50836d7fece9d43f634d4 [
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 *-*-* } 13 } */
}