1 /* { dg-do compile } */
2 #include "../objc-obj-c++-shared/Object1.h"
4 @interface Derived: Object
7 extern Object* foo(void);
8 static Derived *test(void)
10 Derived *m = foo(); /* { dg-warning "initialization from distinct Objective\\-C type" } */