Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.2.1
/
gcc
/
testsuite
/
objc.dg
/
comp-types-11.m
blob: b041759ca65a3b16f55025db9b77acdd49d196a0 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
#include
<objc/Object.h>
@interface
Derived
:
Object
@end
extern
Object
*
foo
(
void
);
static
Derived
*
test
(
void
)
{
Derived
*
m
=
foo
();
/* { dg-warning "initialization from distinct Objective\\-C type" } */
return
m
;
}