Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
objc.dg
/
bad-receiver-type.m
blob: 36f4cf3e433525c6226d8233c209e7d5bdc797b6 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
@interface
A
-
(
void
)
test
;
@end
extern
int
foo
();
void
baz
()
{
[
foo test
];
/* { dg-warning "invalid receiver type" } */
/* { dg-warning "cannot convert to a pointer type" "" { target *-*-* } 13 } */
}