URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [objc.dg/] [comp-types-11.m] - Rev 12
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; }