URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [obj-c++.dg/] [comp-types-12.mm] - Rev 20
Go to most recent revision | Compare with Previous | Blame | View Log
/* { 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;
}
Go to most recent revision | Compare with Previous | Blame | View Log