URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [comp-types-12.mm] - Rev 705
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */
#include "../objc-obj-c++-shared/TestsuiteObject.h"
@interface Derived: TestsuiteObject
@end
extern TestsuiteObject* 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